From 2ec3b3c05e535ffacb1e10a64aa62ad057499d47 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 16 Aug 2010 15:37:31 -0300 Subject: Adding helper classes and repetition finder --- index.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 3a946af..7aebd45 100644 --- a/index.php +++ b/index.php @@ -14,6 +14,9 @@ function cinisis_autoload($class) { if (strstr($class, 'Iterator')) { require_once 'classes/iterators/'. $class .'.php'; } + elseif (strstr($class, 'Helper')) { + require_once 'classes/helpers/'. $class .'.php'; + } else { require_once 'classes/'. $class .'.php'; } -- cgit v1.2.3