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:
@@ -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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user