diff --git a/app/bootstrap.php b/app/bootstrap.php index f4431cf74bf57..6e7e85e799a46 100644 --- a/app/bootstrap.php +++ b/app/bootstrap.php @@ -48,7 +48,7 @@ * Constants definition */ define('DS', DIRECTORY_SEPARATOR); -define('BP', dirname(__DIR__)); +define('BP', __DIR__); if (file_exists(BP . '/maintenance.flag')) { if (PHP_SAPI == 'cli') {