Merge branch 'master' of github.com:laravel/laravel
This commit is contained in:
commit
4125438391
|
|
@ -215,7 +215,7 @@ protected function token()
|
|||
*/
|
||||
protected function recaller()
|
||||
{
|
||||
return $this->name().'_remember';
|
||||
return Config::get('auth.cookie', $this->name().'_remember');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ public static function query($sql, $bindings, $time)
|
|||
$binding = Database::escape($binding);
|
||||
|
||||
$sql = preg_replace('/\?/', $binding, $sql, 1);
|
||||
$sql = htmlspecialchars($sql);
|
||||
$sql = htmlspecialchars($sql, ENT_QUOTES, 'UTF-8', false);
|
||||
}
|
||||
|
||||
static::$data['queries'][] = array($sql, $time);
|
||||
|
|
|
|||
Loading…
Reference in New Issue