I have a file assume abc.php in multisite set up.
If I hit this using url :
domain1.com/abc.php, I should get store name of domain1 and if I hit it using
domain2.com/abc.php, I should get store name of domain2. I am using the below code:
$storeId = Mage::app()->getStore()->getName();
domain1.com being by default frontstore, when I hit
domain2.com/abc.php I get store name of domain1 always. How do I get store specific information in a while placed in root folder?