Esempio n. 1
0
if (file_exists($app_path . 'Application.php')) {
    if (file_exists($app_path . 'Initialize.php')) {
        include $app_path . 'Initialize.php';
    }
    if (System::Authority()->verified) {
        if (file_exists($app_path . 'Info.php')) {
            include $app_path . 'Info.php';
            if (!is_null($application['name'])) {
                setTitle($application['name']);
            }
        }
        if (file_exists($app_path . 'Resources.php')) {
            include $app_path . 'Resources.php';
        }
        require_once $app_path . 'Application.php';
    } else {
        exLog('Authority->verified: false');
        error('Insufficent Privlidges', 'You do not have the required permission to view this page.');
    }
} else {
    exLog('Application Load Failed: ' . System::Application());
    error('Application Not Found', 'The requested application bundle was either not found, or invalid.');
}
add('<hr />');
// REMOVE ME
if (System::InterfaceHandler()->mannagedUI) {
    include System::InterfaceHandler()->interfaceFile();
}
echo Development::logDump();
// REMOVE ME
System::Terminate();
Esempio n. 2
0
function debug($name, $data)
{
    Development::debugWrite($name, $data);
}