diff options
author | alecpl <alec@alec.pl> | 2009-07-21 12:31:59 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-07-21 12:31:59 +0000 |
commit | 2c3d81dddd8d931385022a065515d6ef42d7fb7d (patch) | |
tree | 6593a8c50717d578bb67590b27dba819f1acf5a8 /installer/rcube_install.php | |
parent | a07ab6da091e8a476b04eec5f7e1807599cdd278 (diff) |
- use simple rcube_smtp class
- Installer: fix SMTP settings test
Diffstat (limited to 'installer/rcube_install.php')
-rw-r--r-- | installer/rcube_install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php index 05046879e..1ad1ff267 100644 --- a/installer/rcube_install.php +++ b/installer/rcube_install.php @@ -136,10 +136,10 @@ class rcube_install */ function create_config($which, $force = false) { - $out = file_get_contents(RCMAIL_CONFIG_DIR . "/{$which}.inc.php.dist"); + $out = @file_get_contents(RCMAIL_CONFIG_DIR . "/{$which}.inc.php.dist"); if (!$out) - return '[Warning: could not read the template file]'; + return '[Warning: could not read the config template file]'; foreach ($this->config as $prop => $default) { $value = (isset($_POST["_$prop"]) || $this->bool_config_props[$prop]) ? $_POST["_$prop"] : $default; |