Kaynağa Gözat

added trailing / to getCwd()

Nicolas Cannasse 17 yıl önce
ebeveyn
işleme
0b103d558f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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"])') + "/";
 	}
 
 	/**