PHP5 compatibility-hack

This commit is contained in:
sebastian 2005-10-02 13:29:55 +00:00
parent 8e2f1a644d
commit f40a73d9b1
2 changed files with 6 additions and 3 deletions

View file

@ -13,8 +13,6 @@ class Data {
"mode" => 'simplexml' "mode" => 'simplexml'
); );
var $unserializeoptions = array();
var $_gs; var $_gs;
function &getInstance() function &getInstance()
@ -150,7 +148,7 @@ class Data {
function convXML2Arr($xml) function convXML2Arr($xml)
{ {
$handle = new XML_Unserializer($this->unserializeoptions); $handle = new XML_Unserializer();
$handle->unserialize($xml); $handle->unserialize($xml);
$arr = $handle->getUnserializedData(); $arr = $handle->getUnserializedData();

View file

@ -1,4 +1,9 @@
<?php <?php
if ($_SERVER['SERVER_ADDR'] !== '192.168.0.110') {
error_reporting(E_ERROR);
}
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_PL_DRAG_INTRO', 'Here you can simply rearrange whole playlist on just drag items up or down.');
define('UI_VERSION', 'LiveSupport 1.0.1'); define('UI_VERSION', 'LiveSupport 1.0.1');