allow to display error-messages
This commit is contained in:
parent
8bcee10beb
commit
330fc96fb2
3 changed files with 26 additions and 17 deletions
|
@ -42,12 +42,14 @@ function _getLanguages()
|
||||||
*/
|
*/
|
||||||
function tra($input)
|
function tra($input)
|
||||||
{
|
{
|
||||||
## initialize at first call of this function ###
|
|
||||||
|
|
||||||
#$GS =& $_SESSION[UI_LOCALIZATION_SESSNAME]['GS'];
|
|
||||||
static $GS;
|
|
||||||
global $uiBase;
|
global $uiBase;
|
||||||
|
|
||||||
|
if (UI_LOCALIZER_SESSNAME) {
|
||||||
|
$GS =& $_SESSION[UI_LOCALIZATION_SESSNAME]['GS'];
|
||||||
|
} else {
|
||||||
|
static $GS;
|
||||||
|
}
|
||||||
|
|
||||||
if ($uiBase->langid && !is_array($GS)) {
|
if ($uiBase->langid && !is_array($GS)) {
|
||||||
#echo "load translation";
|
#echo "load translation";
|
||||||
include_once dirname(__FILE__).'/localizer/loader.inc.php';
|
include_once dirname(__FILE__).'/localizer/loader.inc.php';
|
||||||
|
|
|
@ -2,9 +2,16 @@
|
||||||
ini_set('memory_limit', '64M');
|
ini_set('memory_limit', '64M');
|
||||||
|
|
||||||
define('UI_PL_DRAG_ENABLED', TRUE);
|
define('UI_PL_DRAG_ENABLED', TRUE);
|
||||||
define('UI_PL_DRAG_INTRO', 'Here you can simply rearrange whole playlist on just drag items up or down.');
|
define('UI_LOCALIZER_SESSNAME', 'LOCALIZER');
|
||||||
define('UI_VERSION', 'LiveSupport 1.0.1');
|
|
||||||
define('UI_VERSION_FULLNAME', 'LiveSupport 1.0 stable');
|
## Warning/Error level
|
||||||
|
define('UI_VERBOSE', FALSE);
|
||||||
|
define('UI_WARNING', TRUE);
|
||||||
|
define('UI_ERROR', TRUE);
|
||||||
|
|
||||||
|
## Misc
|
||||||
|
define('UI_VERSION', 'LiveSupport 1.0.2');
|
||||||
|
define('UI_VERSION_FULLNAME', 'LiveSupport 1.0.2');
|
||||||
define('UI_TESTSTREAM_MU3_TMP', 'img/test.m3u');
|
define('UI_TESTSTREAM_MU3_TMP', 'img/test.m3u');
|
||||||
|
|
||||||
## Scheduler
|
## Scheduler
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
<?php
|
<?php
|
||||||
if ($_SERVER['SERVER_ADDR'] !== '192.168.0.110') {
|
|
||||||
error_reporting(E_ERROR);
|
|
||||||
}
|
|
||||||
ini_set('memory_limit', '64M');
|
ini_set('memory_limit', '64M');
|
||||||
|
|
||||||
define('UI_PL_DRAG_ENABLED', TRUE);
|
define('UI_PL_DRAG_ENABLED', TRUE);
|
||||||
define('UI_PL_DRAG_INTRO', 'Here you can simply rearrange whole playlist on just drag items up or down.');
|
define('UI_LOCALIZER_SESSNAME', 'LOCALIZER');
|
||||||
define('UI_VERSION', 'LiveSupport 1.0.1');
|
|
||||||
define('UI_VERSION_FULLNAME', 'LiveSupport 1.0 stable');
|
## Warning/Error level
|
||||||
|
define('UI_VERBOSE', FALSE);
|
||||||
|
define('UI_WARNING', TRUE);
|
||||||
|
define('UI_ERROR', TRUE);
|
||||||
|
|
||||||
|
|
||||||
|
define('UI_VERSION', 'LiveSupport 1.0.2');
|
||||||
|
define('UI_VERSION_FULLNAME', 'LiveSupport 1.0.2');
|
||||||
define('UI_TESTSTREAM_MU3_TMP', 'img/test.m3u');
|
define('UI_TESTSTREAM_MU3_TMP', 'img/test.m3u');
|
||||||
|
|
||||||
## Scheduler
|
## Scheduler
|
||||||
define('UI_SCHEDULER_DAEMON_CMD', '/etc/init.d/livesupport-station start >/tmp/scheduler.log 2>&1 &'); ## adjust the start-command here
|
define('UI_SCHEDULER_DAEMON_CMD', '/etc/init.d/livesupport-station start >/tmp/scheduler.log 2>&1 &'); ## adjust the start-command here
|
||||||
define('UI_SCHEDULER_DAEMON_NAME', 'scheduler'); ## this is name of scheduler process to grep in process list for it
|
define('UI_SCHEDULER_DAEMON_NAME', 'scheduler'); ## this is name of scheduler process to grep in process list for it
|
||||||
|
|
||||||
## Warning/Error level
|
|
||||||
define('UI_VERBOSE', FALSE);
|
|
||||||
define('UI_WARNING', TRUE);
|
|
||||||
define('UI_ERROR', TRUE);
|
|
||||||
|
|
||||||
## Local settings
|
## Local settings
|
||||||
define('UI_DEFAULT_LANGID', 'en_GB');
|
define('UI_DEFAULT_LANGID', 'en_GB');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue