diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-08-27 10:58:33 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-08-27 10:58:33 +0000 |
| commit | 1f08b4d3e99d7955cf62cdaac0123de79b1acdb2 (patch) | |
| tree | add66a586aa27931f1c5bb4a36f8b6eaa743a960 /roundcubemail/installer/test.php | |
| parent | e90425d8c5a3cd3c03cdd3a8252d78bc516cebf5 (diff) | |
- added options to use syslog instead of log file (#1484850)
- added Logging & Debugging section in Installer
- fixed config from $_POST for next installer steps saving
- fixed and re-enabled debug_level setting in installer
git-svn-id: https://svn.roundcube.net/trunk@1683 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/installer/test.php')
| -rw-r--r-- | roundcubemail/installer/test.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/roundcubemail/installer/test.php b/roundcubemail/installer/test.php index 0f38da059..0edfcc904 100644 --- a/roundcubemail/installer/test.php +++ b/roundcubemail/installer/test.php @@ -35,7 +35,12 @@ else if (!$read_db) { if ($RCI->configured) { $pass = false; - foreach (array($RCI->config['temp_dir'],$RCI->config['log_dir']) as $dir) { + + $dirs[] = $RCI->config['temp_dir']; + if($RCI->config['log_driver'] != 'syslog') + $dirs[] = $RCI->config['log_dir']; + + foreach ($dirs as $dir) { $dirpath = $dir{0} == '/' ? $dir : INSTALL_PATH . $dir; if (is_writable(realpath($dirpath))) { $RCI->pass($dir); |
