1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 06:33:22 +02:00

FAQ plugin front-end rewrite started

This commit is contained in:
SecretR
2013-03-07 10:22:03 +02:00
parent cb2c087493
commit 82ac1255a6
6 changed files with 237 additions and 2 deletions

View File

@@ -2739,6 +2739,7 @@ class eController
public function dispatch($actionMethodName)
{
$request = $this->getRequest();
$content = '';
// init() could modify the dispatch status
if($request->isDispatched())
@@ -2750,7 +2751,10 @@ class eController
if($request->isDispatched())
{
$request->populateRequestParams();
$this->$actionMethodName();
// allow return output
$content = $this->$actionMethodName();
if(!empty($content)) $this->addBody($content);
if($request->isDispatched())
{