Your IP : 216.73.216.240


Current Path : /home/semix18/public_html/optimum-wycena.pl/
Upload File :
Current File : /home/semix18/public_html/optimum-wycena.pl/admin.php

<?php
/**
*	Dobi System
*
*	Terms of use and legal restrictions:
*   PLEASE READ THESE TERMS ( www.dobi.pl/doc/license/ ) CAREFULLY BEFORE USING THIS PRODUCT. 
*	USING THIS PRODUCT INDICATES THAT YOU ACCEPT THESE TERMS. 
*	IF YOU DO NOT ACCEPT THESE TERMS , DO NOT USE THIS PRODUCT.
*
*	PHP 5.1.2 and later 
*
*	@license	www.dobi.pl/doc/license/ Dobi License 1.0
*   @copyright	Copyright (c) 2005-2006 Michał 'Cube' Daniel ( http://www.dobi.pl )
* 	@link		www.dobi.pl
*	@package	Dobi Core
*	@version 	1.0, 2006/08/10 11:57
*   @author		Michał 'Cube' Daniel cube@dobi.pl		
*
*/

define('DEFAULT_ADMIN_MODULE', 'Admin');

require_once('core/includes/include.basicFunctions.php');
require_once('core/interfaces/interface.block.php');
require_once('core/interfaces/interface.fc.php');
require_once('core/interfaces/interface.module.php');
require_once('core/interfaces/interface.strategy.php');
require_once('core/interfaces/interface.initial.php');
require_once('core/interfaces/interface.admin.php');
require_once('core/Dobi.php');
require_once('core/Admin.php');

try 
{	    
	$start = generateWWW();
	
	$arrStartObjects = array( 
	'mapper' => 'mapper',	
	'error' => 'error',		
	'dataRequest' => 'dataRequest',	
	'session' => 'adminSession'
	);
	
    $dobi = Dobi::loadSystem();
	$dobi->setExceptionReporting( REPORT_ALL );
    $dobi->setErrorReporting(E_ALL ^ E_NOTICE);
    $dobi->errorReporting();	
	$dobi->registerNeededObjects( $arrStartObjects );
	new Admin($dobi);

	$end = generateWWW();
	$total = $end - $start;
	$total = substr($total, 0, 5);
	if (Registry::getObject('db')->getConfValue('site_render'))
	{
		echo '<!-- ' . _SITE_GENERATE_TIME_ . $total . _SITE_GENERATE_TIME_SEC_ .' -->';	
	}
}

catch(dobiException $e)
{
	echo $e->getErrorMsg();
}

catch(exception $e)
{
	echo $e->getMessage();
}



?>