*** empty log message ***
This commit is contained in:
parent
dfde7d4dbe
commit
deea502419
5 changed files with 8 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
session_start();
|
||||
|
||||
## LS classes/functions #############################################
|
||||
require_once dirname(__FILE__).'/conf.php';
|
||||
require_once dirname(__FILE__).'/ui_conf.php';
|
||||
require_once dirname(__FILE__).'/ui_browser.class.php';
|
||||
|
||||
|
||||
|
|
2
livesupport/modules/htmlUI/var/conf.php → livesupport/modules/htmlUI/var/ui_conf.php
Normal file → Executable file
2
livesupport/modules/htmlUI/var/conf.php → livesupport/modules/htmlUI/var/ui_conf.php
Normal file → Executable file
|
@ -1,4 +1,6 @@
|
|||
<?php
|
||||
define('UI_VERBOSE', TRUE);
|
||||
|
||||
define('UI_HANDLER', 'ui_handler.php');
|
||||
define('UI_BROWSER', 'ui_browser.php');
|
||||
define('UI_FORM_STANDARD_METHOD', 'POST');
|
|
@ -2,7 +2,7 @@
|
|||
session_start();
|
||||
|
||||
## LS classes/functions #############################################
|
||||
require_once dirname(__FILE__).'/conf.php';
|
||||
require_once dirname(__FILE__).'/ui_conf.php';
|
||||
require_once dirname(__FILE__).'/ui_handler.class.php';
|
||||
|
||||
## initialize objects ###############################################
|
||||
|
|
|
@ -132,7 +132,7 @@ class uiPlaylist
|
|||
foreach ($elemIds as $elemId) {
|
||||
$r = $this->Base->gb->addAudioClipToPlaylist($this->token, $elemId, $this->Base->sessid);
|
||||
if (PEAR::isError($r)) {
|
||||
print_r($r);
|
||||
if (UI_VERBOSE) print_r($r);
|
||||
$this->Base->_retMsg('Error on add item to Playlist');
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -252,6 +252,7 @@ class uiPlaylist
|
|||
$r = $this->Base->gb->changeFadeInfo($this->token, $i, $val['fadeIn'], $val['fadeOut'], $this->Base->sessid);
|
||||
#print_r($r);
|
||||
if (PEAR::isError($r)) {
|
||||
if (UI_VERBOSE) print_r($r);
|
||||
$this->Base->_retMsg('ChangeFadeInfo failed');
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ class uiScratchPad
|
|||
function addItem($id)
|
||||
{
|
||||
if(!$this->Base->STATIONPREFS[UI_SCRATCHPAD_MAXLENGTH_KEY]) {
|
||||
if (!$this->verbose) $this->Base->_retMsg('ScratchPad length is not set in System Preferences, so it cannot be used.');
|
||||
if ($this->verbose) $this->Base->_retMsg('ScratchPad length is not set in System Preferences, so it cannot be used.');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue