5 // @date 2006-03-24 10:16AM
6 // @desc Handles autoloading models so that they all don't have to be loaded all the time
7 // (to keep load time and memory requirements to a minimum)
9 function __autoload($file) {
10 if(file_exists(Conventions
::model_path($file))) include_once Conventions
::model_path($file);
11 if(file_exists(Conventions
::library_path($file))) include_once Conventions
::library_path($file);
12 if(file_exists(Conventions
::extension_path($file))) include_once Conventions
::extension_path($file);