Commit 3adbe89c0f6a5a6679225509d6b1577f4eceaa8a
1 parent
226acff4
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. Committed By: Jonathan Byrne Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8374 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/util/ktutil.inc
| @@ -867,7 +867,7 @@ class KTUtil { | @@ -867,7 +867,7 @@ class KTUtil { | ||
| 867 | $sPath = str_replace('\\', '/', $sPath); | 867 | $sPath = str_replace('\\', '/', $sPath); |
| 868 | $sReal = str_replace('\\', '/', realpath($sPath)); | 868 | $sReal = str_replace('\\', '/', realpath($sPath)); |
| 869 | 869 | ||
| 870 | - if(substr($sPath, -1, 1) == '/'){ | 870 | + if(substr($sPath, -1, 1) == '/' && substr($sReal, -1, 1) != '/'){ |
| 871 | $sReal .= '/'; | 871 | $sReal .= '/'; |
| 872 | } | 872 | } |
| 873 | 873 |