From d2ea8f164a2b6aa1f1f9d39b72dda59fd7d2d89d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 16 Aug 2018 08:42:44 +0800 Subject: [PATCH] Asset.php --- Asset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asset.php b/Asset.php index b65dca0c..c8c997c4 100644 --- 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"); } -- 2.39.2