shenshihai 3 år sedan
förälder
incheckning
219062cdd6
1 ändrade filer med 1 tillägg och 1 borttagningar
  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{