Commit 1ced5136a1706fb5f930ab025f6568fb79965a5d
1 parent
35e3932c
Only include webPageTemplate.inc at dispatch-time, as it has
side-effects when included before this time. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3981 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/dispatcher.inc.php
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require_once(KT_DIR . '/presentation/webpageTemplate.inc'); | |
| 4 | 3 | require_once(KT_LIB_DIR . '/validation/dispatchervalidation.inc.php'); |
| 5 | 4 | |
| 6 | 5 | class KTDispatcher { |
| ... | ... | @@ -13,6 +12,7 @@ class KTDispatcher { |
| 13 | 12 | } |
| 14 | 13 | |
| 15 | 14 | function dispatch () { |
| 15 | + require_once(KT_DIR . '/presentation/webpageTemplate.inc'); | |
| 16 | 16 | $method = 'do_main'; |
| 17 | 17 | if (array_key_exists($this->event_var, $_REQUEST)) { |
| 18 | 18 | $event = $_REQUEST[$this->event_var]; | ... | ... |