properly close autoload function
This commit is contained in:
parent
8c231b3678
commit
77409ed3d7
|
@ -22,7 +22,7 @@ spl_autoload_register(function($class) {
|
|||
if ( file_exists($classpath)) {
|
||||
require_once $classpath;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$user = new User($db);
|
||||
|
||||
|
|
Loading…
Reference in New Issue