From: edward Date: Thu, 31 Mar 2016 02:40:05 +0000 (+0800) Subject: RooTrait.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=9859d6d7ae79d4b66afe57f0dc2d4d2e3a6aa059 RooTrait.php --- 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')