code: protected static function scriptName()
  	{
  		$request = System::getContainer()->get('request_stack')->getCurrentRequest();
  
  		if ($request === null)
  		{
  			return @$_SERVER['ORIG_SCRIPT_NAME'] ?: $_SERVER['SCRIPT_NAME'];
  		}
  
  		return $request->getScriptName();
  	}
docs: Return the relative path to the script (e.g. /website/index.php)
  
  @return string The relative path to the script