-
Notifications
You must be signed in to change notification settings - Fork 4
License
insekticid/ZF2-Nette-Debug
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published