Beispiel #1
0
$PHPErrors = '';
$framework->add_content($FrameworkMessages);
// Add old Frameworkmessages (sollten dann ausgetauscht werden)
$framework->add_content($MainContent);
// Add old MainContent-Variable (sollte auch bereinigt werden)
// DEBUG:Alles
if (isset($debug)) {
    $debug->addvar('$auth', $auth);
}
if (isset($debug)) {
    $debug->addvar('$cfg', $cfg);
}
if (isset($debug)) {
    $debug->tracker("All upto HTML-Output");
}
$framework->html_out();
// Output of all HTML
unset($framework);
unset($smarty);
unset($templ);
unset($dsp);
### Statistics will be updated only at scriptend, so pagesize and loadtime can be insert
if ($db->success) {
    // Statistic Functions (for generating server- and usage-statistics)
    include_once "modules/stats/class_stats.php";
    $stats = new stats();
    unset($stats);
    // Check Cronjobs
    if (!$_GET['mod'] == 'install') {
        if (!isset($cron2)) {
            include_once 'modules/cron2/class_cron2.php';