debug) $debug_time = new speedometer();
// initialize execHandler and main scripts
$exec = new execHandler();
$exec->cache_dir = 'cache/exec/';
// debug?
if ( $config->debug ) $exec->debug = true;
// paths to load
$exec->addPath(
array(
'exec/core.exc.php',
'exec/*',
'templates/'.$config->template.'/render.exc.php',
'plugins/*.exc.php',
)
);
$exec->cache();
include($exec->include_file);
if ($config->debug) {
$debug_time->end();
echo "
\npage generated in ".$debug_time->time." sec.
\n";
}
?>