mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
- updated configuration file.
- edited init script so it will only look for specific file names. "index.html", "index.php", so on, instead of running glob() on "index.*". - moved internal timer to seperate exec file. git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@7 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
class config {
|
||||
|
||||
/*
|
||||
/*
|
||||
|
||||
Class: config v0.1 beta
|
||||
Class: config v0.1 beta
|
||||
|
||||
Copyright © 2006 Jim Myhrberg. All rights reserved.
|
||||
zynode@gmail.com
|
||||
Copyright © 2006 Jim Myhrberg. All rights reserved.
|
||||
zynode@gmail.com
|
||||
|
||||
*/
|
||||
*/
|
||||
|
||||
|
||||
function config ($input=false) {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
class dirlist {
|
||||
class dirList {
|
||||
|
||||
/*
|
||||
|
||||
Class: dirlist v2.0 beta
|
||||
Class: dirList v2.0 beta
|
||||
|
||||
Copyright © 2006 Jim Myhrberg. All rights reserved.
|
||||
zynode@gmail.com
|
||||
|
||||
@@ -251,7 +251,11 @@ class execHandler {
|
||||
if ( preg_match("/(.*)".$this->priority_delim."(.*)/", $section, $priority) ) {
|
||||
$section = $priority[1];
|
||||
$priority = $priority[2];
|
||||
} else { $priority = $this->default_priority; }
|
||||
} elseif ( !empty($settings['priority']) ) {
|
||||
$priority = $settings['priority'];
|
||||
}else {
|
||||
$priority = $this->default_priority;
|
||||
}
|
||||
|
||||
$section_code = $this->clean_up_code($section_code[2]);
|
||||
|
||||
|
||||
@@ -2,6 +2,13 @@
|
||||
|
||||
class speedometer {
|
||||
|
||||
/*
|
||||
|
||||
Class: Speedometer v0.1
|
||||
Created to simplify script execution statistics...
|
||||
|
||||
*/
|
||||
|
||||
var $digits = 6;
|
||||
|
||||
var $start;
|
||||
|
||||
Reference in New Issue
Block a user