[limb-svn] r6924 - 3.x/trunk/limb

svn at limb-project.com svn at limb-project.com
Fri Apr 11 13:30:54 MSD 2008


Author: pachanga
Date: 2008-04-11 13:30:54 +0400 (Fri, 11 Apr 2008)
New Revision: 6924
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6924

Modified:
   3.x/trunk/limb/runtests.php
Log:
-- added default fallback to just 'php' binary

Modified: 3.x/trunk/limb/runtests.php
===================================================================
--- 3.x/trunk/limb/runtests.php	2008-04-11 09:22:16 UTC (rev 6923)
+++ 3.x/trunk/limb/runtests.php	2008-04-11 09:30:54 UTC (rev 6924)
@@ -44,7 +44,11 @@
   $info = ob_get_contents();
   ob_end_clean();
 
-  $php_bin = $_ENV["_"];
+  if(isset($_ENV["_"]))
+    $php_bin = $_ENV["_"];
+  else
+    $php_bin = "php";//any better way to guess it otherwise?
+
   $php_ini = "";
 
   $lines = explode("\n", $info);



More information about the limb-svn mailing list