fixed problem of including config

This commit is contained in:
printempw 2016-02-03 11:41:39 +08:00
parent fe14326554
commit 3eaddcd6c4

View File

@ -8,6 +8,7 @@
$dir = dirname(__FILE__);
require "$dir/includes/autoload.inc.php";
require "$dir/config.php";
if (isset($_GET['type']) && isset($_GET['uname'])) {
$user = new user($_GET['uname']);