コード例 #1
0
ファイル: index.php プロジェクト: javinc/loadavg
//$loadedModules = LoadModules::$_settings->general['modules'];
//var_dump ($loadedModules);
//get plugins//
$plugins = LoadPlugins::$_settings->general['plugins'];
//var_dump ($plugins);
if (DEBUG) {
    $loadavg->memoryDebugData($memory_usage);
}
//draw the header
require_once APP_PATH . '/layout/header.php';
/* 
 * check for successful installation
 */
//check if installation is complete passed over by installer
if (isset($_GET['check'])) {
    $loadavg->cleanUpInstaller();
} else {
    //check installation has been cleaned up for security reasons
    $loadavg->checkInstall();
}
/*
 * start polling time to generate charts
 */
$timer->setStartTime();
// Setting page load start time
/*
 * draw the current page view
 */
//grab the log diretory - needs to be dynamic really
//as this is also set in settings.ini.php !!!
$logdir = LOG_PATH;