/** * Images Storage root directory * * @return string */ public function getStorageRoot() { if ($this->_getMediaSymlinkHelper()->active()) { return realpath(Mage::getConfig()->getOptions()->getMediaDir()) . DS . Mage_Cms_Model_Wysiwyg_Config::IMAGE_DIRECTORY . DS; } else { return parent::getStorageRoot(); } }
/** * Images Storage root directory * * @return string */ public function getStorageRoot() { if (!Mage::helper('uaudio_storage')->isEnabled()) { return parent::getStorageRoot(); } if (!$this->_storageRoot) { $this->_storageRoot = Mage::getConfig()->getOptions()->getMediaDir() . DS . Mage_Cms_Model_Wysiwyg_Config::IMAGE_DIRECTORY . DS; } return $this->_storageRoot; }
/** * Images Storage root directory * * @return string */ public function getStorageRoot() { return realpath(parent::getStorageRoot()); }