diff options
author | Silvio <silvio@devlet.com.br> | 2010-07-15 18:15:21 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-07-15 18:15:21 -0300 |
commit | d9f864a13f9216b7ee78a85c53d3184220eb01c3 (patch) | |
tree | 803d9f3095a58cd638b596781eb54d6369a97708 /index.php | |
parent | 995ab5bad89603d40b7d9d60fef4bb8bae1dc9d3 (diff) | |
download | cinisis-d9f864a13f9216b7ee78a85c53d3184220eb01c3.tar.gz cinisis-d9f864a13f9216b7ee78a85c53d3184220eb01c3.tar.bz2 |
Moving iterators to their own folder
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -11,7 +11,12 @@ require_once 'contrib/spyc/spyc.php'; // Autoloader. function cinisis_autoload($class) { - require_once 'classes/'. $class .'.php'; + if (strstr($class, 'Iterator')) { + require_once 'classes/iterators/'. $class .'.php'; + } + else { + require_once 'classes/'. $class .'.php'; + } } // Register autoloader. |