Commit a70e01a3d661e43868fc8c58bd349ddca30d1386
1 parent
41720774
If the folder action has a path, require it.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4144 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
2 deletions
lib/actions/folderaction.inc.php
| ... | ... | @@ -138,8 +138,7 @@ class KTFolderActionUtil { |
| 138 | 138 | $oRegistry = KTPluginRegistry::getSingleton(); |
| 139 | 139 | $oPlugin =& $oRegistry->getPlugin($sPlugin); |
| 140 | 140 | if (!empty($sPath)) { |
| 141 | - // require_once(KT_DIR . | |
| 142 | - // Or something... | |
| 141 | + require_once($sPath); | |
| 143 | 142 | } |
| 144 | 143 | $aObjects[] =& new $sClassName($oFolder, $oUser, $oPlugin); |
| 145 | 144 | } | ... | ... |