aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-18 15:22:43 -0300
committerSilvio <silvio@devlet.com.br>2010-08-18 15:22:43 -0300
commitad8d8568b683e6935bec64abe88f79bf31706dd7 (patch)
tree43d00493cf8676acbcf4bec74bf44c717107ecd6 /index.php
parent219aa7f6b4a19b723b0c25683801b1b5d502e9f4 (diff)
downloadcinisis-ad8d8568b683e6935bec64abe88f79bf31706dd7.tar.gz
cinisis-ad8d8568b683e6935bec64abe88f79bf31706dd7.tar.bz2
Adding audit and finder classes, cleanup and organization
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.php b/index.php
index 7aebd45..aff50a5 100644
--- a/index.php
+++ b/index.php
@@ -11,7 +11,10 @@ require_once 'contrib/spyc/spyc.php';
// Autoloader.
function cinisis_autoload($class) {
- if (strstr($class, 'Iterator')) {
+ if (strstr($class, 'Db')) {
+ require_once 'classes/backends/'. $class .'.php';
+ }
+ elseif (strstr($class, 'Iterator')) {
require_once 'classes/iterators/'. $class .'.php';
}
elseif (strstr($class, 'Helper')) {