Commit a70e01a3d661e43868fc8c58bd349ddca30d1386

Authored by nbm
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
lib/actions/folderaction.inc.php
@@ -138,8 +138,7 @@ class KTFolderActionUtil { @@ -138,8 +138,7 @@ class KTFolderActionUtil {
138 $oRegistry = KTPluginRegistry::getSingleton(); 138 $oRegistry = KTPluginRegistry::getSingleton();
139 $oPlugin =& $oRegistry->getPlugin($sPlugin); 139 $oPlugin =& $oRegistry->getPlugin($sPlugin);
140 if (!empty($sPath)) { 140 if (!empty($sPath)) {
141 - // require_once(KT_DIR .  
142 - // Or something... 141 + require_once($sPath);
143 } 142 }
144 $aObjects[] =& new $sClassName($oFolder, $oUser, $oPlugin); 143 $aObjects[] =& new $sClassName($oFolder, $oUser, $oPlugin);
145 } 144 }