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;