blessing-skin-server/includes/autoload.inc.php

15 lines
304 B
PHP
Raw Normal View History

2016-02-02 21:23:20 +08:00
<?php
/**
* @Author: prpr
* @Date: 2016-02-02 21:17:59
* @Last Modified by: prpr
2016-02-04 18:35:14 +08:00
* @Last Modified time: 2016-02-04 18:34:34
2016-02-02 21:23:20 +08:00
*/
function __autoload($classname) {
global $dir;
$filename = "$dir/includes/".$classname.".class.php";
include_once($filename);
}
2016-02-04 18:35:14 +08:00
require "$dir/config.php";