Commit 8d324339d677ddacd0a5c164fb1f76301f9725ed
1 parent
fbf74a5d
Merged in from DEV trunk...
KTS-3260 "Missing require_once in files" Fixed. Added the missing requires. Committed By: Kevin Fourie Reviewed By: Jonathan Byrne git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.2c-Release-Branch@8408 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
4 additions
and
1 deletions
lib/plugins/pluginregistry.inc.php
| @@ -35,6 +35,8 @@ | @@ -35,6 +35,8 @@ | ||
| 35 | * | 35 | * |
| 36 | */ | 36 | */ |
| 37 | 37 | ||
| 38 | +require_once( KT_LIB_DIR . '/plugins/plugin.inc.php'); | ||
| 39 | + | ||
| 38 | class KTPluginRegistry { | 40 | class KTPluginRegistry { |
| 39 | var $_aPluginDetails = array(); | 41 | var $_aPluginDetails = array(); |
| 40 | var $_aPlugins = array(); | 42 | var $_aPlugins = array(); |
lib/templating/templating.inc.php
| @@ -36,7 +36,8 @@ | @@ -36,7 +36,8 @@ | ||
| 36 | * Contributor( s): ______________________________________ | 36 | * Contributor( s): ______________________________________ |
| 37 | */ | 37 | */ |
| 38 | 38 | ||
| 39 | -require_once(KT_LIB_DIR . "/templating/smartytemplate.inc.php"); | 39 | +require_once(KT_LIB_DIR . '/templating/smartytemplate.inc.php'); |
| 40 | +require_once( KT_LIB_DIR . '/plugins/plugin.inc.php'); | ||
| 40 | 41 | ||
| 41 | class KTTemplating { | 42 | class KTTemplating { |
| 42 | /** Templating language registry */ | 43 | /** Templating language registry */ |