renderer : if the output is not defined in domframework, do not generate an error to allow the loading of the class by the autoloader
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4813 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -27,7 +27,9 @@ class renderer
|
||||
$this->output */
|
||||
public function run ()
|
||||
{
|
||||
require_once ("domframework/outputhtml.php");
|
||||
// If the output is not defined in domframework, it will not be loaded but
|
||||
// without error, it can be loaded by the autoloader
|
||||
@require_once ("domframework/output$this->output.php");
|
||||
$class = __NAMESPACE__."\\output$this->output";
|
||||
$obj = new $class ();
|
||||
$res = call_user_func_array (array ($obj, "out"),
|
||||
|
||||
Reference in New Issue
Block a user