No description, website, or topics provided.
PHP JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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