Example #1
0
 /**
  * Return the base url
  * @return string
  */
 public function getBaseUrl()
 {
     if (!$this->baseUrl) {
         $this->baseUrl = Application::getFrontController()->getRequest()->getBaseUrl();
     }
     return $this->baseUrl;
 }