initialize() public static méthode

public static initialize ( )
Exemple #1
0
 /**
  * @param  string        error log directory
  * @param  string        administrator email
  * @return void
  */
 public function enableDebugger($logDirectory = NULL, $email = NULL)
 {
     Tracy\Debugger::$strictMode = TRUE;
     Tracy\Debugger::enable(!$this->parameters['debugMode'], $logDirectory, $email);
     Nette\Bridges\Framework\TracyBridge::initialize();
 }
Exemple #2
0
 public function __construct()
 {
     $this->parameters = $this->getDefaultParameters();
     Nette\Bridges\Framework\TracyBridge::initialize();
 }