Example #1
0
require_once $kernel_path . "/Debug.php";
if (file_exists($Config)) {
    require_once $Config;
    $_configured = true;
} else {
    $_path = realpath($kernel_path . '/../') . '/';
    $_url = get_url();
    $_configured = false;
}
require_once $kernel_path . "/Database.php";
require_once $core_path . "/Constants.php";
require_once $core_path . "/db-mapping.php";
require_once $core_path . "/Requetes.php";
connect_db();
// verifie l'installation complete
$install_step = verif_install();
$installing = isInstalling();
// verifie si l'URL REWRITING est activée
$_rewrite = _mod_rewrite();
// info config
extract(load_config());
if (!$installing) {
    // load_plugin(); // => import de plug-in... non fonctionnel
    require_once $core_path . "/Functions.php";
    if (request_confirm('setMessageEditionMode')) {
        LanguageValidation::setMessageEditionMode();
    }
    if (LanguageValidation::isMessageEditionMode()) {
        translateForm::edition();
    }
    require_once $core_path . "/Refresh.php";
Example #2
0
			<?php 
if (isset($right)) {
    ?>
				<asIDe>
					<?php 
    echo $right;
    ?>
				</asIDe>
			<?php 
}
?>
		<p>	
			<footer>
				
				<a href="<?php 
echo get_link('Install') . '&step=' . verif_install();
?>
">Retour à l'installation</a> |
				<a href="<?php 
echo get_link('apropos', 'Install');
?>
">A propos</a> | 
				<a href="<?php 
echo get_link('contact', 'Install');
?>
">Contact</a> | 
				<a href="<?php 
echo get_link('mentions', 'Install');
?>
">Mentions légales</a> | 
				<a href="<?php