init modul
Dieser Commit ist enthalten in:
		
							Ursprung
							
								
									5a10080501
								
							
						
					
					
						Commit
						5e9bd9c7d0
					
				
					 1 geänderte Dateien mit 44 neuen und 0 gelöschten Zeilen
				
			
		
							
								
								
									
										44
									
								
								trunk/Calendars/Ewiger_Adventskranz/output.php
									
										
									
									
									
										Normale Datei
									
								
							
							
						
						
									
										44
									
								
								trunk/Calendars/Ewiger_Adventskranz/output.php
									
										
									
									
									
										Normale Datei
									
								
							|  | @ -0,0 +1,44 @@ | ||||||
|  | <?php | ||||||
|  | /** | ||||||
|  |  * Modul Output: Ewiger Advents Kalender | ||||||
|  |  * | ||||||
|  |  * @package     Module | ||||||
|  |  * @subpackage  calendars | ||||||
|  |  * @version     $Rev$ | ||||||
|  |  * @author      Ortwin Pinke <o.pinke@php-backoffice.de> | ||||||
|  |  * @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); | ||||||
|  | ?>
 | ||||||
		Laden …
	
	Tabelle hinzufügen
		
		In neuem Issue referenzieren