コード例 #1
0
ファイル: index.php プロジェクト: Ben749/racetrack
    }
    unset($file);
    r304($files);
    #based on each file in collection
    $f->h($type);
    foreach ($files as $file) {
        if (is_file($file)) {
            echo "\n/*}{$file}{*/\n";
            readfile($file);
        }
    }
    die;
}
#if(!Q)$f->R302('?putssomequerystringwhenNotSet');
if (stripos(U, 'index.php') !== false) {
    $f->R302('./?#index');
}
if (!Q) {
    $f->R302('?1#');
}
#Notice they are respectivelty cumulative with each other
$_ENV['keyw'] = $_ENV['desc'] = $_ENV['titre'] = 'racetrack ² - fast & easy php plug & play framework';
$headermenu = $footermenu = '';
$headerLinks = $footerLinks = [];
$f->gt('timer');
require_once 'header.c.php';
$out .= ' ' . implode(' - ', $f->dc());
$out .= "\n - <a href='/test/'>Tests ( password protected ) </a>";
$out .= "\n - <a href='/adm/'>admin ( password protected ) </a>";
require_once 'adm/contents/ve.blocks.1-.php';
$MainPageContents = trim($x['content']);