From 3adbe89c0f6a5a6679225509d6b1577f4eceaa8a Mon Sep 17 00:00:00 2001 From: Jonathan Byrne Date: Wed, 16 Apr 2008 12:41:48 +0000 Subject: [PATCH] KTS-3288 "Language Paths aren't being created in the database properly which causes the Welcome Dashlet to not display." Fixed. Fixed a problem with the isAbsolutePath function. --- 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 de05737..38079f4 100644 --- a/lib/util/ktutil.inc +++ b/lib/util/ktutil.inc @@ -867,7 +867,7 @@ class KTUtil { $sPath = str_replace('\\', '/', $sPath); $sReal = str_replace('\\', '/', realpath($sPath)); - if(substr($sPath, -1, 1) == '/'){ + if(substr($sPath, -1, 1) == '/' && substr($sReal, -1, 1) != '/'){ $sReal .= '/'; } -- libgit2 0.21.4