Fix for station logo not displaying correctly
This commit is contained in:
parent
fe5b20c29e
commit
357e17f3b4
|
@ -27,7 +27,6 @@ class IndexController extends Zend_Controller_Action
|
|||
|
||||
$this->view->stationUrl = Application_Common_HTTPHelper::getStationUrl();
|
||||
|
||||
$this->view->baseUrl = Application_Common_OsPath::getBaseDir();
|
||||
}
|
||||
|
||||
public function mainAction()
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="bck_cover"></div>
|
||||
|
||||
<?php if ($this->stationLogo === DEFAULT_LOGO_PLACEHOLDER) {
|
||||
echo "<a href='#' class='logo'><img src='".$this->baseUrl."/images/".DEFAULT_LOGO_FILE."'></a>";
|
||||
echo "<a href='#' class='logo'><img src='images/".DEFAULT_LOGO_FILE."'></a>";
|
||||
} else {
|
||||
echo "<a href='#' class='logo'><img src='data:image/png;base64," . $this->stationLogo . "'></a>";
|
||||
} ?>
|
||||
|
|
Loading…
Reference in New Issue