shenshihai 3 年之前
父节点
当前提交
219062cdd6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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{