Pman.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 27 Jul 2010 05:55:05 +0000 (13:55 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 27 Jul 2010 05:55:05 +0000 (13:55 +0800)
Pman.php

index cf67d61..535fd86 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -557,7 +557,9 @@ class Pman extends HTML_FlexyFramework_Page
         if (file_exists($cfile)) {
            // $ctime = max(filemtime($cfile), filectime($cfile));
             // otherwise use compile dfile..
-            $ar = glob($cfile / '/' . $mod + '*.js');
+            $cfile = array_pop(glob($cfile / '/' . $mod + '*.js'));
+            echo $cfile;exit;
+            
             $files = array( $this->rootURL."/_compiled_/". basename($cfile));
             if (file_exists($lfile)) {
                 array_push($files, $this->rootURL."/_translations_/$mod.js");