diff --git a/sources/conf/setup.ini b/sources/conf/setup.ini index a27ae8a..e262533 100644 --- a/sources/conf/setup.ini +++ b/sources/conf/setup.ini @@ -1,9 +1,6 @@ ; how often get data from serwer interval = 2500 ; milliseconds -; extra time for cache to secure transmission delay -cache = 60000 ; milliseconds - ; authorized user:room (comma separated) ; caution: names must be valid for file names ! ; :room with no user name is a room opened to any user name diff --git a/sources/index.php b/sources/index.php index a497a3d..793815c 100644 --- a/sources/index.php +++ b/sources/index.php @@ -1,24 +1,4 @@ ' . print_r($v, true) . ''; - if ($czyscHtmlIExit) exit; -} -function vv($v, $czyscHtmlIExit = false) { - if ($czyscHtmlIExit) ob_end_clean(); - echo '
';
-	var_dump($v);
-	echo '
'; - if ($czyscHtmlIExit) exit; -} -function vvv($var, & $result = null, $is_view = true) -{ - if (is_array($var) || is_object($var)) foreach ($var as $key=> $value) vvv($value, $result[$key], false); - else $result = $var; - - if ($is_view) v($result); -} - function getarr($arr,$key,$default) { return isset($arr[$key]) ? $arr[$key] : $default; } @@ -32,11 +12,9 @@ function deleteOldHistory() { } } -//------------------------- // init setup.ini parms $ini = parse_ini_file('conf/setup.ini'); $interval= getarr($ini,'interval',2500); - $delay= $interval+getarr($ini,'cache',60000); $auth= explode(',',getarr($ini,'auth','')); // read args @@ -108,10 +86,11 @@ if ($name.$room=="") {