westdc-zf1/application/default/views/helpers/BaseUrl.php

10 lines
162 B
PHP
Executable File

<?php
class Zend_View_Helper_BaseUrl
{
function baseUrl()
{
$fc = Zend_Controller_Front::getInstance();
return $fc->getBaseUrl();
}
}