From 5e9bd9c7d06aae71acc2f51c93af92eb0f7d27c3 Mon Sep 17 00:00:00 2001 From: oldperl Date: Wed, 16 Nov 2011 11:27:09 +0000 Subject: [PATCH] init modul --- .../Calendars/Ewiger_Adventskranz/output.php | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 trunk/Calendars/Ewiger_Adventskranz/output.php diff --git a/trunk/Calendars/Ewiger_Adventskranz/output.php b/trunk/Calendars/Ewiger_Adventskranz/output.php new file mode 100644 index 0000000..ef85d08 --- /dev/null +++ b/trunk/Calendars/Ewiger_Adventskranz/output.php @@ -0,0 +1,44 @@ + + * @copyright 2011 PHP-Backoffice + * @link www.php-backoffice.de + * @link http://www.contenido.org + * + * $Id$ + */ + + +$cfgMod = array( + 'debug' => false +); + +// init db-object +if (!is_object($oDb)) { + $oDb = new DB_Contenido(); +} + +// init template +if (!is_object($oTpl)) { + $oTpl = new Template(); +} +$oTpl->reset(); + +// init debugger +cInclude('classes', 'Debug/DebuggerFactory.class.php'); +/* @var $oDebug Debug_VisibleAdv */ +$oDebug = DebuggerFactory::getDebugger('visible_adv'); + + +// your code here +// show debug & cleanup +if ($cfgMod['debug']) + $oDebug->showAll(); +unset($cfgMod); +unset($oDebug); +?> \ No newline at end of file