diff --git a/admin/admin_ajax.php b/admin/admin_ajax.php index 26f579fb..070cdc5c 100644 --- a/admin/admin_ajax.php +++ b/admin/admin_ajax.php @@ -3,12 +3,11 @@ * @Author: prpr * @Date: 2016-02-04 13:53:55 * @Last Modified by: prpr - * @Last Modified time: 2016-02-04 18:09:26 + * @Last Modified time: 2016-02-04 18:42:22 */ session_start(); $dir = dirname(dirname(__FILE__)); require "$dir/includes/autoload.inc.php"; -require "$dir/config.php"; if(isset($_COOKIE['uname']) && isset($_COOKIE['token'])) { $_SESSION['uname'] = $_COOKIE['uname']; diff --git a/admin/index.php b/admin/index.php index eaf8464b..d1d0ede8 100644 --- a/admin/index.php +++ b/admin/index.php @@ -3,7 +3,7 @@ * @Author: prpr * @Date: 2016-02-03 14:39:50 * @Last Modified by: prpr - * @Last Modified time: 2016-02-04 18:34:32 + * @Last Modified time: 2016-02-04 23:45:06 */ session_start(); @@ -51,7 +51,7 @@ if (isset($_SESSION['uname'])) { Profile