/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
foreach($autoload as $type => $name) { if($type=='libraries' && $name != NULL) { require_once(SYS_PATH . 'libraries' . DIRSEP . $name . '.php'); $Pronto->set($name); } if($type=='helpers' && $name != NULL) { require_once(SYS_PATH . 'helpers' . DIRSEP . $name . '.php'); } }