Pages

Tuesday, August 6, 2013

How to get the admin frontend name in magento

By default the magento admin path is ‘http://Yourwemsite/admin’. You  change this name (admin)  with any name  while installing. To get the adminFrontName use the following.
$adminFrontName = (string)Mage::getConfig()->getNode(‘admin/routers/adminhtml/args/frontName’);

No comments:

Post a Comment