'english'); // Specify store code in the params Mage::app()->setCurrentStore(Mage::getModel('core/store')->loadConfig($params['store_code'])); // Get the base URL of the current store $baseUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB); echo $baseUrl; // Outputs something like "https://example.com/en/" ?>In this example, we first initialize the application with a specific store code using Mage::app()->setCurrentStore(). We then call Mage::getBaseUrl() with the URL_TYPE_WEB parameter to retrieve the base URL of the current store and output it to the screen. The Mage namespace is part of the Magento PHP library, which is a package/library developed by Magento Inc. for building and managing e-commerce websites.