mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
Initial import
git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@1 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
33
view.php
Normal file
33
view.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?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";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user