|
@@ -68,10 +68,11 @@ class Application{
|
|
|
|
|
|
private function ActualLoadPage($page,$action,$params){
|
|
|
$this->_controller=$this->LoadController($page);
|
|
|
+ $controller=get_class($this->_controller);
|
|
|
if (!method_exists($this->_controller, $action))
|
|
|
$action="Index";
|
|
|
|
|
|
- $rm=new ReflectionMethod($page, $action);
|
|
|
+ $rm=new ReflectionMethod($controller, $action);
|
|
|
$methodParams=$rm->getParameters();
|
|
|
|
|
|
//Old behaviour detection, please seek to remove
|