Преглед изворни кода

other typos fixedx in php.Sys

Franco Ponticelli пре 17 година
родитељ
комит
dc3cc58f6d
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      std/php/Sys.hx

+ 2 - 2
std/php/Sys.hx

@@ -7,7 +7,7 @@ class Sys {
 	}
 	}
 
 
 	public static function getEnv( s : String ) : String {
 	public static function getEnv( s : String ) : String {
-		return untyped __call__("getenv");
+		return untyped __call__("getenv", s);
 	}
 	}
 
 
 	public static function putEnv( s : String, v : String ) : Void {
 	public static function putEnv( s : String, v : String ) : Void {
@@ -15,7 +15,7 @@ class Sys {
 	}
 	}
 
 
 	public static function sleep( seconds : Float ) {
 	public static function sleep( seconds : Float ) {
-		return untyped __call__("putenv", seconds);
+		return untyped __call__("sleep", seconds);
 	}
 	}
 
 
 	public static function setTimeLocale( loc : String ) : Bool {
 	public static function setTimeLocale( loc : String ) : Bool {