Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7df549e2e8
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (11 sloc) 0.449 kb
<?php
// Define autoload for including the classes file when creating object of unknown class
function __autoload($class_name) {
$class_path = NCONFDIR.'/include/classes/class.'.$class_name.'.php';
if ( !empty($class_name) && file_exists($class_path) ){
#include(NCONFDIR.'/include/classes/class.'.$class_name.'.php');
require_once($class_path);
NConf_DEBUG::set("class $class_name", 'DEBUG', 'Autoload');
}
}
?>
Jump to Line
Something went wrong with that request. Please try again.