add autoload.inc.php
This commit is contained in:
parent
7c0592dbf8
commit
0bb571e6fd
13
includes/autoload.inc.php
Normal file
13
includes/autoload.inc.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
/**
|
||||
* @Author: prpr
|
||||
* @Date: 2016-02-02 21:17:59
|
||||
* @Last Modified by: prpr
|
||||
* @Last Modified time: 2016-02-02 21:19:31
|
||||
*/
|
||||
|
||||
function __autoload($classname) {
|
||||
global $dir;
|
||||
$filename = "$dir/includes/".$classname.".class.php";
|
||||
include_once($filename);
|
||||
}
|
Loading…
Reference in New Issue
Block a user