updates, edits and shit...

- changed configuration system, so at the point init.php runs only settings needed by init.php are set, the rest are loaded later if init.php doesn't redirect to an index file...

git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@8 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
jim
2006-03-31 11:15:36 +00:00
parent 49ccc270a1
commit 4f57bf92ce
9 changed files with 85 additions and 31 deletions

View File

@@ -74,7 +74,6 @@ if ( $do_readdir ) {
//>Section> echo
print_r($dlist->list);
print_r($config);
//_END;

31
exec/icons.exc.php Normal file
View File

@@ -0,0 +1,31 @@
<?php die();
//
// Exec: icons
//
// Copyright © 2006 Jim Myhrberg. All rights reserved.
// zynode@gmail.com
//
//_HEAD;
/* --- Configuration ---
Name: icons
Priority: 40
Author: Jim Myhrberg
*/
//_SCRIPT;
//==========================
//>STAGE> init
//==========================
//>After> core.define_constants
define('ICONS_PATH', '/icons/'.$config->iconset.'/');
define('ICONS_URL', DLIST_URL.ICONS_PATH);
//_END;
?>

View File

@@ -7,6 +7,16 @@
// zynode@gmail.com
//
/*
Intializes $timer at beginning of exec code, use
$timer->end(); in your template to get script
execution time.
*/
//_HEAD;
/* --- Configuration ---
Name: timer
@@ -24,13 +34,5 @@ Author: Jim Myhrberg
$timer = new speedometer();
//==========================
//>STAGE> render
//==========================
//>Section> end
$timer->end();
//_END;
?>