route : Pass to renderer the information concerning the routing and the exception
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2516 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -536,7 +536,11 @@ class route
|
|||||||
$renderer->viewClass = $this->viewClass;
|
$renderer->viewClass = $this->viewClass;
|
||||||
$renderer->viewMethod = $this->viewMethod;
|
$renderer->viewMethod = $this->viewMethod;
|
||||||
$renderer->layout = $this->layout;
|
$renderer->layout = $this->layout;
|
||||||
$renderer->replacement = $this->replacement;
|
$renderer->replacement = array_merge ($this->replacement,
|
||||||
|
array ("{exceptionCode}"=>$getCode,
|
||||||
|
"{exceptionText}"=>$http->codetext($getCode),
|
||||||
|
"{baseurl}"=>$this->baseURL(),
|
||||||
|
"{baseurlmodule}"=>$this->baseURLmodule()));
|
||||||
$renderer->variable = $this->variable;
|
$renderer->variable = $this->variable;
|
||||||
$renderer->run ();
|
$renderer->run ();
|
||||||
exit;
|
exit;
|
||||||
|
|||||||
Reference in New Issue
Block a user