d
Amit DhamuSoftware Engineer
 

Autoload Class

1 minute read 00000 views
function load($class, $package = 'classes/') {
    include_once($package . $class . '.php');
}

spl_autoload_register('load');

Interpolated from Codular