git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@4 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
jim
2006-03-26 23:02:21 +00:00
parent 9437cc7e52
commit 15f66fb6a1
2 changed files with 2 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ $config = array(
'url' => '/dlist/',
'index_files' => array('index', 'default', 'main'),
'debug' => false,
'debug' => true,
// Display settings

View File

@@ -106,13 +106,12 @@ class execHandler {
*/
function cache ($force=false) {
if ( !($cache_ok = $this->check_cache()) ) {
if ( $force || $this->debug || !$this->check_cache() ) {
echo "reloading\n";
$this->loadFile($this->files_to_load);
$this->compile();
$this->save_cache();
}
print_r($cache_ok);
}
function addPath ($input) {