X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=RooTrait.php;h=ae418d4e88c4702a0350c5766634da4ee304f9b5;hb=9859d6d7ae79d4b66afe57f0dc2d4d2e3a6aa059;hp=0d2da738ae74f5983757a5b41b0661580fa0e18a;hpb=8d5448037a46a266a1f19f0bba6048afadf43cf3;p=Pman.Core 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')