code: public static function setStaticUrls()
  	{
  		if (\defined('TL_FILES_URL'))
  		{
  			return;
  		}
  
  		if (\func_num_args() > 0)
  		{
  			@trigger_error('Using Controller::setStaticUrls() has been deprecated and will no longer work in Contao 5.0. Use the asset contexts instead.', E_USER_DEPRECATED);
  
  			if (!isset($GLOBALS['objPage']))
  			{
  				$GLOBALS['objPage'] = func_get_arg(0);
  			}
  		}
  
  		\define('TL_ASSETS_URL', System::getContainer()->get('contao.assets.assets_context')->getStaticUrl());
  		\define('TL_FILES_URL', System::getContainer()->get('contao.assets.files_context')->getStaticUrl());
  
  		// Deprecated since Contao 4.0, to be removed in Contao 5.0
  		\define('TL_SCRIPT_URL', TL_ASSETS_URL);
  		\define('TL_PLUGINS_URL', TL_ASSETS_URL);
  	}
docs: Set the static URL constants