commit c76523871a0d23f108cde32ec14aa0dd2e56ff0e Author: Oldperl <44996956+oldperl@users.noreply.github.com> Date: Wed Nov 16 11:04:49 2011 +0000 svn: changed foldername diff --git a/output.php b/output.php new file mode 100644 index 0000000..ef85d08 --- /dev/null +++ b/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