shenshihai 3 năm trước cách đây
mục cha
commit
219062cdd6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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{