Asset.php
authorAlan Knowles <alan@roojs.com>
Thu, 16 Aug 2018 00:42:44 +0000 (08:42 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 16 Aug 2018 00:42:44 +0000 (08:42 +0800)
Asset.php

index b65dca0..c8c997c 100644 (file)
--- a/Asset.php
+++ b/Asset.php
@@ -168,7 +168,7 @@ class Pman_Core_Asset extends Pman {
     function clearCompiledFilesCache()
     {
         $au = $this->getAuthUser();
-        if (!$au && !in_array($_SERVER['REMOTE_ADDR'] , array('127.0.0.1','::1')) {
+        if (!$au && !in_array($_SERVER['REMOTE_ADDR'] , array('127.0.0.1','::1'))) {
             $this->jerr("Cache can only be cleared by authenticated users");
         }