From 9859d6d7ae79d4b66afe57f0dc2d4d2e3a6aa059 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 31 Mar 2016 10:40:05 +0800 Subject: [PATCH] RooTrait.php --- RooTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RooTrait.php b/RooTrait.php index 0d2da738..ae418d4e 100644 --- a/RooTrait.php +++ b/RooTrait.php @@ -28,7 +28,7 @@ trait Pman_Core_RooTrait { $this->appDisabled = explode(',', $boot->disable); $this->version = $boot->version; $this->uiConfig = empty($boot->Pman['uiConfig']) ? false : $boot->Pman['uiConfig']; - print_R($_SERVER['SERVER_ADDR']);EXIT; + if (!empty($ff->Pman['local_autoauth']) && ($_SERVER['SERVER_ADDR'] == '127.0.0.1') && ($_SERVER['REMOTE_ADDR'] == '127.0.0.1') -- 2.39.2