Merge branch 'saas-dev' into soundcloud
This commit is contained in:
commit
8163608666
7 changed files with 7 additions and 5 deletions
|
@ -24,7 +24,7 @@ define('AIRTIME_API_VERSION' , '1.1');
|
||||||
define('AIRTIME_CODE_VERSION' , '2.5.13');
|
define('AIRTIME_CODE_VERSION' , '2.5.13');
|
||||||
|
|
||||||
define('DEFAULT_LOGO_PLACEHOLDER', 1);
|
define('DEFAULT_LOGO_PLACEHOLDER', 1);
|
||||||
define('DEFAULT_LOGO_FILE', 'airtime_logo.png');
|
define('DEFAULT_LOGO_FILE', 'images/airtime_logo.png');
|
||||||
|
|
||||||
// Metadata Keys for files
|
// Metadata Keys for files
|
||||||
define('MDATA_KEY_FILEPATH' , 'filepath');
|
define('MDATA_KEY_FILEPATH' , 'filepath');
|
||||||
|
|
|
@ -27,7 +27,6 @@ class IndexController extends Zend_Controller_Action
|
||||||
|
|
||||||
$this->view->stationUrl = Application_Common_HTTPHelper::getStationUrl();
|
$this->view->stationUrl = Application_Common_HTTPHelper::getStationUrl();
|
||||||
|
|
||||||
$this->view->baseUrl = Application_Common_OsPath::getBaseDir();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function mainAction()
|
public function mainAction()
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link href='http://fonts.googleapis.com/css?family=Roboto:400,100,300,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Roboto:400,100,300,700' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<?php echo $this->headTitle() ?>
|
<?php echo $this->headTitle() ?>
|
||||||
<?php echo $this->headLink() ?>
|
<?php echo $this->headLink() ?>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="bck_cover"></div>
|
<div class="bck_cover"></div>
|
||||||
|
|
||||||
<?php if ($this->stationLogo === DEFAULT_LOGO_PLACEHOLDER) {
|
<?php if ($this->stationLogo === DEFAULT_LOGO_PLACEHOLDER) {
|
||||||
echo "<a href='#' class='logo'><img src='".$this->baseUrl.DEFAULT_LOGO_FILE."'></a>";
|
echo "<a href='#' class='logo'><img src='".DEFAULT_LOGO_FILE."'></a>";
|
||||||
} else {
|
} else {
|
||||||
echo "<a href='#' class='logo'><img src='data:image/png;base64," . $this->stationLogo . "'></a>";
|
echo "<a href='#' class='logo'><img src='data:image/png;base64," . $this->stationLogo . "'></a>";
|
||||||
} ?>
|
} ?>
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 4.1 MiB After Width: | Height: | Size: 959 KiB |
BIN
airtime_mvc/public/images/airtime_logo.png
Normal file
BIN
airtime_mvc/public/images/airtime_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
|
@ -54,8 +54,11 @@ if (array_key_exists('config', $_GET)) {
|
||||||
showConfigCheckPage();
|
showConfigCheckPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$filename = isset($_SERVER['AIRTIME_CONF']) ?
|
||||||
|
$_SERVER['AIRTIME_CONF'] : AIRTIME_CONFIG_STOR . AIRTIME_CONFIG;
|
||||||
|
|
||||||
// If a configuration file exists, forward to our boot script
|
// If a configuration file exists, forward to our boot script
|
||||||
if (file_exists(AIRTIME_CONFIG_STOR . AIRTIME_CONFIG)) {
|
if (file_exists($filename)) {
|
||||||
require_once(APPLICATION_PATH . 'airtime-boot.php');
|
require_once(APPLICATION_PATH . 'airtime-boot.php');
|
||||||
}
|
}
|
||||||
// Otherwise, we'll need to run our configuration setup
|
// Otherwise, we'll need to run our configuration setup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue