From df1a10d4bd7299b7efaa0ef088a96bc8f20262a8 Mon Sep 17 00:00:00 2001 From: zone Date: Fri, 25 May 2001 02:36:55 +0000 Subject: [PATCH] All preferences are now set; not working? --- .../hook_phpwebhosting_add_def_pref.inc.php | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) 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"); + ?>