mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-15 06:09:58 +08:00
fixed problem of including config
This commit is contained in:
parent
fe14326554
commit
3eaddcd6c4
1
get.php
1
get.php
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
$dir = dirname(__FILE__);
|
$dir = dirname(__FILE__);
|
||||||
require "$dir/includes/autoload.inc.php";
|
require "$dir/includes/autoload.inc.php";
|
||||||
|
require "$dir/config.php";
|
||||||
|
|
||||||
if (isset($_GET['type']) && isset($_GET['uname'])) {
|
if (isset($_GET['type']) && isset($_GET['uname'])) {
|
||||||
$user = new user($_GET['uname']);
|
$user = new user($_GET['uname']);
|
||||||
|
Loading…
Reference in New Issue
Block a user