From 7a8bca332523ce1b7c81cd26426d553a7b66bb24 Mon Sep 17 00:00:00 2001 From: nbm Date: Wed, 23 Nov 2005 21:49:34 +0000 Subject: [PATCH] If the action has a path, include it. --- action.php | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/action.php b/action.php index aa62bcf..6773ffd 100644 --- a/action.php +++ b/action.php @@ -37,6 +37,10 @@ class KTActionDispatcher extends KTStandardDispatcher { $this->error = true; $this->errorPage("No such action exists in KnowledgeTree"); } + $sFilename = $aActionInfo[1]; + if (!empty($sFilename)) { + require_once($sFilename); + } $oAction = new $aActionInfo[0]; $oAction->dispatch(); } -- libgit2 0.21.4