From f17e5b0b58eb420c40ca37cde95fc91842a96f04 Mon Sep 17 00:00:00 2001 From: pedro_morgan <pedro_morgan@ispconfig3> Date: Fri, 17 Aug 2007 05:23:48 -0400 Subject: [PATCH] Tidied up app.inc.php * now php5 class * Inctroducted $_loaded_modules class var to silence "undefined property" error * Cleaned code to PEAR standards --- server/plugins-enabled/getmail_plugin.inc.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/server/plugins-enabled/getmail_plugin.inc.php b/server/plugins-enabled/getmail_plugin.inc.php index 65569d4..0e4d279 100644 --- a/server/plugins-enabled/getmail_plugin.inc.php +++ b/server/plugins-enabled/getmail_plugin.inc.php @@ -113,6 +113,8 @@ // Write the config file. file_put_contents($config_file_path,$tpl); $app->log("Writing Getmail config file: $config_file_path",LOGLEVEL_DEBUG); + exec("chmod 400 $config_file_path"); + exec("chown getmail $config_file_path"); unset($tpl); unset($config_file_path); -- Gitblit v1.9.1