diff --git a/index.php b/index.php index becef1a73..79d646167 100644 --- a/index.php +++ b/index.php @@ -11,9 +11,6 @@ namespace Grav; \define('GRAV_REQUEST_TIME', microtime(true)); \define('GRAV_PHP_MIN', '7.3.6'); -if (!\defined('GRAV_ROOT')) { - \define('GRAV_ROOT', __DIR__); -} if (PHP_SAPI === 'cli-server') { $symfony_server = stripos(getenv('_'), 'symfony') !== false || stripos($_SERVER['SERVER_SOFTWARE'] ?? '', 'symfony') !== false || stripos($_ENV['SERVER_SOFTWARE'] ?? '', 'symfony') !== false;