mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
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:
5
view.php
5
view.php
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user