The developers are can use this piece of code anywhere in zendframework project for get baseurl of currently running project.
<?php echo rtrim(Zend_Controller_Front::getInstance()->getBaseUrl(),’/’); ?>
The developers are can use this piece of code anywhere in zendframework project for get baseurl of currently running project.
<?php echo rtrim(Zend_Controller_Front::getInstance()->getBaseUrl(),’/’); ?>