From ad8d8568b683e6935bec64abe88f79bf31706dd7 Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 18 Aug 2010 15:22:43 -0300 Subject: Adding audit and finder classes, cleanup and organization --- index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'index.php') 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')) { -- cgit v1.2.3