Middleware log. [skip ci]

This commit is contained in:
James Cole 2018-03-07 20:56:52 +01:00
parent 5105bc6f64
commit d8ac817c91
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -29,8 +29,10 @@ class Installer
$url = $request->url();
$strpos = stripos($url, '/install');
if (!($strpos === false)) {
Log::debug(sprintf('URL is %s, will NOT run installer middleware', $url));
return $next($request);
}
Log::debug(sprintf('URL is %s, will run installer middleware', $url));
// no tables present?
try {