Commit e258b60fdb0f7093c829fd41079a86885f674435

Authored by megan_w
1 parent ac1ffb1c

KTS-3067

"The check on absolute path causes errors with the plugins"
Fixed. Used strtolower on the paths

Committed By: Megan Watson
Reviewed By: Conrad Vermeulen

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8127 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
lib/util/ktutil.inc
@@ -786,7 +786,7 @@ class KTUtil { @@ -786,7 +786,7 @@ class KTUtil {
786 $sPath = str_replace('\\', '/', $sPath); 786 $sPath = str_replace('\\', '/', $sPath);
787 $sReal = str_replace('\\', '/', realpath($sPath)); 787 $sReal = str_replace('\\', '/', realpath($sPath));
788 788
789 - return ($sReal == $sPath); 789 + return (strtolower($sReal) == strtolower($sPath));
790 790
791 if (substr($sPath, 0, 1) == '/') { 791 if (substr($sPath, 0, 1) == '/') {
792 return true; 792 return true;