function __construct($mode = 'deny', $error_url = false) { $this->mode = $mode; self::$error_url = $error_url; }