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@4 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
@@ -6,7 +6,7 @@ $config = array(
|
||||
|
||||
'url' => '/dlist/',
|
||||
'index_files' => array('index', 'default', 'main'),
|
||||
'debug' => false,
|
||||
'debug' => true,
|
||||
|
||||
|
||||
// Display settings
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user