We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7298d79 commit 5edae25Copy full SHA for 5edae25
1 file changed
src/Router.php
@@ -856,7 +856,7 @@ public static function run(?callable $callback = null)
856
$requestedMethod = \Leaf\Http\Request::getMethod();
857
$appDown = _env('APP_DOWN', \Leaf\Anchor::toBool(\Leaf\Config::getStatic('app.down')) ?? false);
858
859
- if ($appDown == true) {
+ if ($appDown === true) {
860
if (!static::$downHandler) {
861
static::$downHandler = function () {
862
\Leaf\Exception\General::defaultDown();
0 commit comments