Pman.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 16 Dec 2010 08:23:35 +0000 (16:23 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 16 Dec 2010 08:23:35 +0000 (16:23 +0800)
Pman.php

index 7655ed6..44759cb 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -490,7 +490,7 @@ class Pman extends HTML_FlexyFramework_Page
     {
         
         $mods = explode(',', $this->appModules);
-        if (!in_array('Core',$this->appModules)) {
+        if (in_array('Core',$mods)) { // core has to be the first  modules loaded as it contains Pman.js
             array_unshift($mods,   'Core');
         }