summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_utils.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-28 19:24:03 +0200
committerAleksander Machniak <alec@alec.pl>2014-08-28 19:24:03 +0200
commit29c24e647cb4c4a0928382a9ab2964980898562b (patch)
tree72d802a41d7acee8797c4c8f7318c7ceaa24ce5e /program/lib/Roundcube/rcube_utils.php
parenta98a4f8bb56eacffff1765ff09dd29af26e5fc12 (diff)
Get rid of DIRECTORY_SEPARATOR for consistency
Diffstat (limited to 'program/lib/Roundcube/rcube_utils.php')
-rw-r--r--program/lib/Roundcube/rcube_utils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_utils.php b/program/lib/Roundcube/rcube_utils.php
index ef303f8c1..330322f10 100644
--- a/program/lib/Roundcube/rcube_utils.php
+++ b/program/lib/Roundcube/rcube_utils.php
@@ -1068,7 +1068,7 @@ class rcube_utils
return (bool) preg_match('!^[a-z]:[\\\\/]!i', $path);
}
else {
- return $path[0] == DIRECTORY_SEPARATOR;
+ return $path[0] == '/';
}
}