mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@1 a5845835-ea0f-0410-a762-dd0bfe9bfde8
33 lines
645 B
PHP
33 lines
645 B
PHP
<?php
|
|
|
|
|
|
require_once('config.php');
|
|
require_once('resources/init.php');
|
|
require_once('libs/speedometer.lib.php');
|
|
require_once('libs/dirlist.lib.php');
|
|
require_once('libs/exechandler.lib.php');
|
|
|
|
$time = new speedometer();
|
|
|
|
|
|
$exec = new execHandler();
|
|
$exec->cache_dir = 'cache/exec/';
|
|
if ( $config['debug'] ) {
|
|
$exec->debug = true;
|
|
$exec->update_frequency = 0;
|
|
}
|
|
$exec->addPath(
|
|
array(
|
|
'exec/core.exc.php',
|
|
'templates/'.$config['template'].'/render.exc.php',
|
|
'plugins/*.exc.php',
|
|
)
|
|
);
|
|
$exec->cache();
|
|
include($exec->include_file);
|
|
|
|
|
|
$time->end();
|
|
if ($config['debug']) echo "<br />\npage generated in ".$time->time." sec.<br />\n";
|
|
|
|
?>
|