From 29c24e647cb4c4a0928382a9ab2964980898562b Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 28 Aug 2014 19:24:03 +0200 Subject: Get rid of DIRECTORY_SEPARATOR for consistency --- program/lib/Roundcube/rcube_utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/lib/Roundcube/rcube_utils.php') 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] == '/'; } } -- cgit v1.2.3