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

index c8c997c..583e538 100644 (file)
--- a/Asset.php
+++ b/Asset.php
@@ -172,10 +172,9 @@ class Pman_Core_Asset extends Pman {
             $this->jerr("Cache can only be cleared by authenticated users");
         }
         
-        
         require_once 'System.php';
-        $mods = $this->modulesList();
         
+        $mods = $this->modulesList();
         foreach ($mods as $mod) {
             $compile_dir = $this->getCompileDir('js', $module, false);