Exemplo n.º 1
0
 public function __construct($message, $code = 0, Exception $previous = null)
 {
     // make sure everything is assigned properly
     parent::__construct($message . ' <b>`input_class`</b> ', $code, $previous);
 }
Exemplo n.º 2
0
 function __construct($message, $line, Exception $previous = null)
 {
     parent::__construct("{$message}( FILE: " . __FILE__ . ", LINE: {$line}", $line, $previous);
 }
Exemplo n.º 3
0
 public function __construct($message, $code = 3, Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
Exemplo n.º 4
0
}
$mem = memory_get_usage();
require 'config.php';
foreach ($config['db_delimiters'] as $id => $value) {
    define($id, $value);
}
foreach ($config['folders'] as $id => $value) {
    define($id, $value);
}
define('SITE_URL', $config['url']);
require LIBPATH . 'simplefunctions.php';
$time_start = microtime_float();
foreach ($config as $id => $value) {
    if (!is_array($value)) {
        rad_config::setParam($id, $value);
    }
}
rad_config::loadConfig();
rad_exception::setHandlers();
rad_input::init_all();
rad_session::start();
define('SITE_ALIAS', rad_input::get('alias', rad_config::getParam('defaultAlias', 'index.html')));
rad_lang::init();
call_user_func(array(rad_config::getParam('loader_class'), 'init'));
if (rad_config::getParam('lang.caching')) {
    call_user_func(array(rad_config::getParam('loader_class'), 'saveLangCache'));
}
/*
$time_end = microtime_float();
$time = $time_end - $time_start;
*/