implemented a functional template system, and a simple WORKING template, and other smaller things and fixes...

git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@10 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
jim
2006-03-31 22:53:26 +00:00
parent f3a2a9e5b9
commit 05fc88b1d9
11 changed files with 178 additions and 89 deletions

View File

@@ -30,6 +30,7 @@ if ($config->debug) $debug_timer = new speedometer();
// initialize execHandler and main scripts
$exec = new execHandler();
$exec->update_frequency = 0;
$exec->show_debug_msg = false;
// configure cache dir for compiled code
@@ -46,7 +47,9 @@ $exec->addPath(
'templates/'.$config->template.'/*.exc.php',
)
);
$exec->addPath($config->path_plugins);
foreach( $config->path_plugins as $key => $value ) {
$exec->addPath($value.'/*.exc.php');
}
$exec->cache();
include($exec->include_file);