Subversion Repositories cryptochat

Compare Revisions

Regard whitespace Rev 6 → Rev 5

/trunk/index.php
221,7 → 221,6
$room_file = chatroom_file($room);
$cont = file_get_contents($room_file);
preg_match_all('@\(user:(.*)\)@ismU', $cont, $m);
$users_lookup = array();
foreach ($m[1] as &$us) {
$users_lookup[$us] = true;
}
286,7 → 285,7
 
// $sajax_debug_mode = true;
$sajax_failure_redirect = 'http://web.archive.org/web/20090915191608/http://sajax.info/sajaxfail.html';
sajax_export( /** @phpstan-ignore-line */ // PHPstan thinks that sajax_export() only accepts 0 parameters?!
sajax_export(
array('name' => 'add_line', 'method' => 'POST'),
array('name' => 'refresh', 'method' => 'GET') // TODO: post?
);