summaryrefslogtreecommitdiff
path: root/installer/test.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-02-07 14:43:51 +0100
committerAleksander Machniak <alec@alec.pl>2014-02-07 14:45:25 +0100
commitf130f9116e1e9ee9735d8026aa5242fc9daceecb (patch)
tree21631e61616f1f0fc8b67c02537b9d5f165c7536 /installer/test.php
parent8c32f881933c19e57b9148149d1c86eb802be3ff (diff)
Fix directories check in Installer on Windows (#1489576)
Added rcube_utils::is_absolute_path() method
Diffstat (limited to 'installer/test.php')
-rw-r--r--installer/test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/test.php b/installer/test.php
index f834308ad..5d28d5f57 100644
--- a/installer/test.php
+++ b/installer/test.php
@@ -91,7 +91,7 @@ if ($RCI->config['log_driver'] != 'syslog')
$dirs[] = $RCI->config['log_dir'] ? $RCI->config['log_dir'] : 'logs';
foreach ($dirs as $dir) {
- $dirpath = $dir[0] == '/' ? $dir : INSTALL_PATH . $dir;
+ $dirpath = rcube_utils::is_absolute_path($dir) ? $dir : INSTALL_PATH . $dir;
if (is_writable(realpath($dirpath))) {
$RCI->pass($dir);
$pass = true;