mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
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:
@@ -74,7 +74,6 @@ if ( $do_readdir ) {
|
||||
|
||||
//>Section> echo
|
||||
print_r($dlist->list);
|
||||
print_r($config);
|
||||
|
||||
|
||||
//_END;
|
||||
|
||||
31
exec/icons.exc.php
Normal file
31
exec/icons.exc.php
Normal 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;
|
||||
?>
|
||||
@@ -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;
|
||||
?>
|
||||
Reference in New Issue
Block a user