Beispiel #1
0
 /**
  * Initialize debug
  *
  * @param array $options
  */
 public static function init($options)
 {
     self::$debug = !empty($options['debug']) ? true : false;
     if (self::$debug) {
         self::$email = !empty($options['email']) ? $options['email'] : null;
         self::$toolbar = !empty($options['toolbar']) ? true : false;
         self::benchmark('application start');
     }
 }