Browse Source

added trailing / to getCwd()

Nicolas Cannasse 17 years ago
parent
commit
0b103d558f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/php/Web.hx

+ 1 - 1
std/php/Web.hx

@@ -236,7 +236,7 @@ class Web {
 		Get the current script directory in the local filesystem.
 	**/
 	public static inline function getCwd() : String {
-		return untyped __php__('dirname($_SERVER["SCRIPT_FILENAME"])');
+		return untyped __php__('dirname($_SERVER["SCRIPT_FILENAME"])') + "/";
 	}
 
 	/**