Menu

Diff of /trunk/php-java-bridge/tests.php5/array6.php [r422] .. [r423]  Maximize  Restore

Switch to side-by-side view

--- a/trunk/php-java-bridge/tests.php5/array6.php
+++ b/trunk/php-java-bridge/tests.php5/array6.php
@@ -9,6 +9,7 @@
 }
 
 $here=realpath(dirname($_SERVER["SCRIPT_FILENAME"]));
+if(!$here) $here=getcwd();
 java_set_library_path("$here/array6.jar");
 
 $testvar = new Java('Array6');