diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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')) { |