Commit 41254383 authored by Taylor Otwell's avatar Taylor Otwell

Merge branch 'master' of github.com:laravel/laravel

parents 15414808 dd7c3177
...@@ -215,7 +215,7 @@ abstract class Driver { ...@@ -215,7 +215,7 @@ abstract class Driver {
*/ */
protected function recaller() protected function recaller()
{ {
return $this->name().'_remember'; return Config::get('auth.cookie', $this->name().'_remember');
} }
/** /**
...@@ -228,4 +228,4 @@ abstract class Driver { ...@@ -228,4 +228,4 @@ abstract class Driver {
return strtolower(str_replace('\\', '_', get_class($this))); return strtolower(str_replace('\\', '_', get_class($this)));
} }
} }
\ No newline at end of file
...@@ -146,9 +146,9 @@ class Profiler { ...@@ -146,9 +146,9 @@ class Profiler {
foreach ($bindings as $binding) foreach ($bindings as $binding)
{ {
$binding = Database::escape($binding); $binding = Database::escape($binding);
$sql = preg_replace('/\?/', $binding, $sql, 1); $sql = preg_replace('/\?/', $binding, $sql, 1);
$sql = htmlspecialchars($sql); $sql = htmlspecialchars($sql, ENT_QUOTES, 'UTF-8', false);
} }
static::$data['queries'][] = array($sql, $time); static::$data['queries'][] = array($sql, $time);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment