All the require_once are now prefixed by domframework to allow multiple loading of the page (without "Cannot redeclare class output")
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3750 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -27,7 +27,7 @@ class renderer
|
||||
$this->output */
|
||||
public function run ()
|
||||
{
|
||||
if (!@require_once ("output$this->output.php"))
|
||||
if (!@require_once ("domframework/output$this->output.php"))
|
||||
throw new Exception ("Renderer '$this->output' not found", 500);
|
||||
$class = "output$this->output";
|
||||
$reflection = new ReflectionMethod ($class, "out");
|
||||
|
||||
Reference in New Issue
Block a user