From ceb55d1c1d07690975a655de5155d2b6f078b6d4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 12 Nov 2013 09:37:19 +0000 Subject: [PATCH] just setting different app/template-name in constructor --- pixelegg/inc/class.pixelegg_framework.inc.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pixelegg/inc/class.pixelegg_framework.inc.php b/pixelegg/inc/class.pixelegg_framework.inc.php index b215f55b77..b1332c3416 100755 --- a/pixelegg/inc/class.pixelegg_framework.inc.php +++ b/pixelegg/inc/class.pixelegg_framework.inc.php @@ -24,15 +24,14 @@ class pixelegg_framework extends jdots_framework const APP = 'pixelegg'; /** - * Constructor - * - * @param string $template='pixelegg' name of the template - * @return idots_framework - */ - function __construct($template='pixelegg') + * Constructor + * + * Overwritten to set own app/template name (parent can NOT use static::APP!) + * + * @param string $template='pixelegg' name of the template + */ + function __construct($template=self::APP) { parent::__construct($template); // call the constructor of the extended class - - $this->template_dir = '/pixelegg'; // we are packaged as an application } }