Exemple #1
0
<?php

defined('__DIR__') || define('__DIR__', dirname(__FILE__));
if (isset($_GET['removeMe'])) {
    unlink('../index.php');
    rename('../index.php_next', '../index.php');
    include_once '../../library/Centurion/File/System.php';
    Centurion_File_System::rmdir(__DIR__);
    header('Location: ../index/installation-complete');
    die;
}
defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(__DIR__ . '/../../application'));
$checklist = array();
include_once __DIR__ . '/Check.php';
$check = new Check();
$check->check();
/*
TODO:
TO check :
- version of php, apache, mysql
- extension
- database installed
- droits d'écriture/lecture
*/
include '_head.php';
?>

    <section>
        <div class="left">

            <h2>Modules list</h2>
Exemple #2
0
<?php

if (isset($_GET['removeMe'])) {
    unlink('../index.php');
    rename('../index.php_next', '../index.php');
    include_once '../../library/Centurion/File/System.php';
    Centurion_File_System::rmdir('.');
    header('Location: ../index/installation-complete');
    die;
}
defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../../application'));
$checklist = array();
include_once __DIR__ . '/Check.php';
$check = new Check();
$check->check();
/*
TODO:
TO check :
- version of php, apache, mysql
- extension
- database installed
- droits d'écriture/lecture
*/
include '_head.php';
?>

    <section>
        <div class="left">

            <h2>Modules list</h2>
            <ul class="module-list">