app/code/community/Nexcessnet/Turpentine/Model/Varnish/Configurator/Abstract.php
protected function _getAdminFrontname() {
        if (Mage::getStoreConfig('admin/url/use_custom_path')) {
            if (Mage::getStoreConfig('web/url/use_store')) {
                return Mage::getModel('core/store')->load(0)->getCode()."/".Mage::getStoreConfig('admin/url/custom_path');
            } else {
                return Mage::getStoreConfig('admin/url/custom_path');
            }
        } else {
            return (string) Mage::getConfig()->getNode(
                'admin/routers/adminhtml/args/frontName' );
        }
    }
protected function _getAdminFrontname() {
        if (Mage::getStoreConfig('admin/url/use_custom_path')) {
            if (Mage::getStoreConfig('web/url/use_store')) {
                return Mage::getModel('core/store')->load(0)->getCode()."/".Mage::getStoreConfig('admin/url/custom_path');
            } else {
                return Mage::getStoreConfig('admin/url/custom_path');
            }
        } else {
            return (string) Mage::getConfig()->getNode(
                'admin/routers/adminhtml/args/frontName' );
        }
    }
protected function _getAdminFrontname ( ) { if ( Mage :: getStoreConfig ( 'admin/url/use_custom_path' ) ) { if ( Mage :: getStoreConfig ( 'web/url/use_store' ) ) { return Mage :: getModel ( 'core/store' ) -> load ( 0 ) -> getCode ( ) . "/" . Mage :: getStoreConfig ( 'admin/url/custom_path' ) ; } else { return Mage :: getStoreConfig ( 'admin/url/custom_path' ) ; } } else { return ( string ) Mage :: getConfig ( ) -> getNode ( 'admin/routers/adminhtml/args/frontName' ) ; } }
Get the Magento admin frontname

This is just the plain string, not in URL format. ex:
http://example.com/magento/admin -> admin

@return string
Get the Magento admin frontname