diff --git a/filemanager/inc/hook_phpwebhosting_add_def_pref.inc.php b/filemanager/inc/hook_phpwebhosting_add_def_pref.inc.php index 8bdc78f460..f505705f1f 100755 --- a/filemanager/inc/hook_phpwebhosting_add_def_pref.inc.php +++ b/filemanager/inc/hook_phpwebhosting_add_def_pref.inc.php @@ -1,11 +1,18 @@ change("phpwebhosting","filename","True"); - $pref->change("phpwebhosting","mime_type","False"); - $pref->change("phpwebhosting","size","True"); - $pref->change("phpwebhosting","created","True"); - $pref->change("phpwebhosting","modified","True"); - $pref->change("phpwebhosting","createdby","True"); - $pref->change("phpwebhosting","modifiedby","True"); - $pref->change("phpwebhosting","comment","True"); + +global $pref; + +$pref->change ("phpwebhosting", "filename", "True"); +$pref->change ("phpwebhosting", "mime_type", "True"); +$pref->change ("phpwebhosting", "size", "True"); +$pref->change ("phpwebhosting", "created", "True"); +$pref->change ("phpwebhosting", "modified", "True"); +$pref->change ("phpwebhosting", "owner", "False"); +$pref->change ("phpwebhosting", "createdby", "True"); +$pref->change ("phpwebhosting", "modifiedby", "True"); +$pref->change ("phpwebhosting", "app", "False"); +$pref->change ("phpwebhosting", "comment", "True"); +$pref->change ("phpwebhosting", "dotdot", "False"); +$pref->change ("phpwebhosting", "dotfiles", "True"); + ?>