@@ -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{