[Insight] Method Request::createFromGlobals should not be used - in app/router.php, line 28
peter-gribanov opened this issue · comments
Request::createFromGlobals()
shouldn't be used outside of the front controller
}
// get request
$loader = require_once __DIR__.'/bootstrap.php.cache';
$request = Request::createFromGlobals();
// Check that the access to the application by the local computer or local network
// Comment this code to open access to the application from the internet
if ($request->server->get('HTTP_CLIENT_IP') ||
$request->server->get('HTTP_X_FORWARDED_FOR') ||