As you can see here, phpStorm is showing error on declaring const root saying: expression is not allowed as const value, but it works fin when define used.
const ROOT = realpath(__DIR__ . '/..');
define('ROOT', realpath(__DIR__ . '/..'));
As you can see here, phpStorm is showing error on declaring const root saying: expression is not allowed as const value, but it works fin when define used.
const ROOT = realpath(__DIR__ . '/..');
define('ROOT', realpath(__DIR__ . '/..'));