Merge branch 'saas-dev' of github.com:sourcefabric/Airtime into saas-dev

This commit is contained in:
Albert Santoni 2015-06-10 15:03:21 -04:00
commit 24db599afe
2 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,8 @@ class IndexController extends Zend_Controller_Action
$this->view->stationDescription = $stationDescription;
$this->view->stationUrl = Application_Common_HTTPHelper::getStationUrl();
$this->view->baseUrl = Application_Common_OsPath::getBaseDir();
}
public function mainAction()

View File

@ -4,7 +4,7 @@
<div class="bck_cover"></div>
<?php if ($this->stationLogo === DEFAULT_LOGO_PLACEHOLDER) {
echo "<a href='#' class='logo'><img src='".DEFAULT_LOGO_FILE."'></a>";
echo "<a href='#' class='logo'><img src='".$this->baseUrl.DEFAULT_LOGO_FILE."'></a>";
} else {
echo "<a href='#' class='logo'><img src='data:image/png;base64," . $this->stationLogo . "'></a>";
} ?>