Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Nette
.gitignore
license.txt
readme.txt

readme.txt

Nette Framework Debug
==========================


Installation
------------

Add Nette namespace to your autoloader

    public function getAutoloaderConfig()
    {
        return array(
            'Zend\Loader\StandardAutoloader' => array(
                'namespaces' => array(
                    'Nette'   =>  __DIR__ . '/../library/Nette'
                ),
            ),
        );
    }
    
Init Debug in your Zend bootstrap file

	protected function initDebug()
	{
		include_once('Nette\Diagnostics\exceptions.php');

		if ( 'production' !== APPLICATION_ENV )
		{
			\Nette\Diagnostics\Debugger::_init();
			\Nette\Diagnostics\Debugger::enable();
			\Nette\Diagnostics\Debugger::$strictMode = 1;
			//Nette\Diagnostics\Debugger::$consoleMode = 1;
		}
	}

Have fun!


-----


Nette Framework is a powerful, component-based and event-driven framework
for creating web applications and services in PHP 5.2 & 5.3. Nette Framework
is designed with simplicity, speed and flexibility in mind. It allows developers
to easy built better websites.

homepage: http://nette.org
repository: http://github.com/nette/nette
Something went wrong with that request. Please try again.