裝了兩bundle后啟動不了了,配置的 pattern 導致錯誤,求幫助
Warning: preg_match(): Compilation failed: unmatched parentheses at offset 12
in?app/cache/dev/classes.php at line 3019
錯誤代碼如下
#var_dump($this->path,$request->getPathInfo());die();
if?(null?!==?$this->path?&&?!preg_match('{'.$this->path.'}',?rawurldecode($request->getPathInfo())))?{
return?false;
}
if?(null?!==?$this->host?&&?!preg_match('{'.$this->host.'}i',?$request->getHost()))?{
相關配置
secured_area:
? ? ? ? ? ? pattern: ^/
調試了下就是這個地方出錯的,
求解決
2015-06-28
那就把這個secured_area去掉,或者換種寫法。