diff options
Diffstat (limited to 'application/views/helpers/BaseUrl.php')
-rw-r--r-- | application/views/helpers/BaseUrl.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/application/views/helpers/BaseUrl.php b/application/views/helpers/BaseUrl.php new file mode 100644 index 0000000..c8e9007 --- /dev/null +++ b/application/views/helpers/BaseUrl.php @@ -0,0 +1,10 @@ +<?php + +class Zend_View_Helper_BaseUrl +{ + function baseUrl() + { + $fc = Zend_Controller_Front::getInstance(); + return $fc->getBaseUrl(); + } +}
\ No newline at end of file |