From 29c24e647cb4c4a0928382a9ab2964980898562b Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 28 Aug 2014 13:24:03 -0400
Subject: [PATCH] Get rid of DIRECTORY_SEPARATOR for consistency

---
 program/lib/Roundcube/rcube_utils.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/Roundcube/rcube_utils.php b/program/lib/Roundcube/rcube_utils.php
index ef303f8..330322f 100644
--- a/program/lib/Roundcube/rcube_utils.php
+++ b/program/lib/Roundcube/rcube_utils.php
@@ -1068,7 +1068,7 @@
             return (bool) preg_match('!^[a-z]:[\\\\/]!i', $path);
         }
         else {
-            return $path[0] == DIRECTORY_SEPARATOR;
+            return $path[0] == '/';
         }
     }
 

--
Gitblit v1.9.1