Commit 009770d57fe6d8d1dda93db97d92e6d08cd17f18
1 parent
0ddc42ba
plugin pages should work in non-root situations.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4311 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/plugins/plugin.inc.php
| ... | ... | @@ -44,7 +44,7 @@ class KTPlugin { |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | function getPagePath($sPath) { |
| 47 | - return sprintf('/plugin.php/%s/%s', $this->sNamespace, $sPath); | |
| 47 | + return sprintf($GLOBALS['KTRootUrl'] . '/plugin.php/%s/%s', $this->sNamespace, $sPath); | |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | function registerAuthenticationProvider($sName, $sClass, $sNamespace, $sFilename = null) { | ... | ... |