Commit cb91c06befe7d32aad96ecdb6ddee7e95631ead3
1 parent
a22bd46c
"KTS-1303"
"Plugin and indexer paths are saved in the DB" Fixed. Reviewed by: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6711 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/plugins/plugin.inc.php
| ... | ... | @@ -364,7 +364,7 @@ class KTPlugin { |
| 364 | 364 | } |
| 365 | 365 | |
| 366 | 366 | function stripKtDir($sFilename) { |
| 367 | - if (strpos($sFilename, KT_DIR) === 0) { | |
| 367 | + if (strpos($sFilename, KT_DIR) === 0 ||strpos($sFilename, realpath(KT_DIR)) === 0) { | |
| 368 | 368 | return substr($sFilename, strlen(KT_DIR) + 1); |
| 369 | 369 | } |
| 370 | 370 | return $sFilename; | ... | ... |