shenshihai %!s(int64=3) %!d(string=hai) anos
pai
achega
219062cdd6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/WscriptShell.php

+ 1 - 1
src/WscriptShell.php

@@ -339,7 +339,7 @@ class WinFile extends WscriptShell
 function setHiddenAttrib($path){
 	$os = getOsName();
 	if( $os == 'win'){
-		$wf = WinFile();
+		$wf = new WinFile();
 		return $wf->setHidden($path);
 	}
 	else{