JsCompile.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 17 Sep 2010 07:54:00 +0000 (15:54 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 17 Sep 2010 07:54:00 +0000 (15:54 +0800)
JsCompile.php

index 19d8991..56217fc 100644 (file)
@@ -69,9 +69,12 @@ class Pman_Core_JsCompile  extends Pman
         }
         
         phpinfo();exit;
-        $src =  realpath(dirname(__FILE__).'/../'. $proj);
+        $src= array_shift(explode(PATH_SEPARATOR, ini_get('include_path'))) .'/Pman/'. $proj;
+        
         echo $src. "\n";exit;
         
+        
+        
         $tmp = ini_get('session.save_path')."/{$proj}_". posix_getuid(). '_'.md5($src);