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:
2017-06-02 09:46:42 +00:00
parent a3ff06eac7
commit 89461c1cb2
8 changed files with 9 additions and 9 deletions

View File

@@ -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");