* @return void
*/
public function __construct ($message, $code = 0) {
+ // Make sure everything is assigned properly
+ parent::__construct($message, $code);
+
// Extract backtrace
$this->saveBackTrace();
// End here
exit();
} // END - if
- // Make sure everything is assigned properly
- parent::__construct($message, $code);
- // Log it away if DEBUG_ALL is set
- if (defined('DEBUG_ALL')) {
+ // Should we log exceptions? (bad implementation)
+ if (defined('LOG_EXCEPTIONS')) {
// Log the error
error_log(sprintf("[%s:] %s (%s)",
$this->__toString(),
// CFG: WEB-CMD-RESOLVER-CLASS
$cfg->setConfigEntry('web_cmd_resolver_class', 'WebCommandResolver');
+// CFG: WEB-CMD-LOGIN-RESOLVER-CLASS
+$cfg->setConfigEntry('web_cmd_login_resolver_class', 'WebCommandResolver');
+
// CFG: IMAGE-CMD-RESOLVER-CLASS
$cfg->setConfigEntry('image_cmd_resolver_class', 'ImageCommandResolver');
+// CFG: IMAGE-CMD-CODE-CAPTCHA-RESOLVER-CLASS
+$cfg->setConfigEntry('image_cmd_code_captcha_resolver_class', 'ImageCommandResolver');
+
// CFG: MAILER-CLASS
$cfg->setConfigEntry('mailer_class', 'DebugMailer');