From e258b60fdb0f7093c829fd41079a86885f674435 Mon Sep 17 00:00:00 2001 From: megan_w Date: Fri, 22 Feb 2008 12:02:42 +0000 Subject: [PATCH] KTS-3067 "The check on absolute path causes errors with the plugins" Fixed. Used strtolower on the paths --- lib/util/ktutil.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/ktutil.inc b/lib/util/ktutil.inc index 1596777..b265414 100644 --- a/lib/util/ktutil.inc +++ b/lib/util/ktutil.inc @@ -786,7 +786,7 @@ class KTUtil { $sPath = str_replace('\\', '/', $sPath); $sReal = str_replace('\\', '/', realpath($sPath)); - return ($sReal == $sPath); + return (strtolower($sReal) == strtolower($sPath)); if (substr($sPath, 0, 1) == '/') { return true; -- libgit2 0.21.4