Magento get base directory

Posted by Damodar Bashyal on April 29, 2013

 

You can get different directory paths in magento with one line code.

Mage::getBaseDir('directory_type');

where directory_type can be:

More»

QR Code: Magento get base directory