changes
This commit is contained in:
commit
9a8c01fc4f
395 changed files with 29082 additions and 31922 deletions
|
@ -88,7 +88,7 @@ class chat extends module{
|
|||
$ch = curl_init();
|
||||
|
||||
// setze die URL und andere Optionen
|
||||
curl_setopt($ch, CURLOPT_URL, 'https://chatsrv.austriachat.net/login?uid='.$session->userdata['uid'].'&room='.$_POST['room'].'&ip=' . $_SERVER['REMOTE_ADDR'] . '&browser=' . urlencode($_SERVER['HTTP_USER_AGENT']) . '&loginkey=4de0345e1c2a6e4bcd26d6874b&template='.$rctemplate);
|
||||
curl_setopt($ch, CURLOPT_URL, 'https://chat.funch.at/login?uid='.$session->userdata['uid'].'&room='.$_POST['room'].'&ip=' . $_SERVER['REMOTE_ADDR'] . '&browser=' . urlencode($_SERVER['HTTP_USER_AGENT']) . '&loginkey=4de0345e1c2a6e4bcd26d6874b&template='.$rctemplate);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
|
||||
curl_setopt($ch, CURLOPT_HEADER, false);
|
||||
|
@ -100,8 +100,6 @@ class chat extends module{
|
|||
|
||||
// schließe den cURL-Handle und gebe die Systemresourcen frei
|
||||
curl_close($ch);
|
||||
//$fh = fopen('https://chatserver.coppertopia.net/login?uid='.$_POST['nick'].'&room='.$_POST['room'].'&ip=' . $_SERVER['REMOTE_ADDR'] . '&browser=' . urlencode($_SERVER['HTTP_USER_AGENT']) . '&loginkey=4de0345e1c2a6e4bcd26d6874b&template='.$rctemplate, "r", false, stream_context_create($opts));
|
||||
//var_dump($fh);
|
||||
if ($fh) {
|
||||
/*$buffer = '';
|
||||
while (!feof($fh)) {
|
||||
|
@ -618,7 +616,7 @@ function inmeta2(){
|
|||
socket.close();
|
||||
});
|
||||
function connect(){
|
||||
var host = 'wss://chatsrv.austriachat.net/'+yacsid;
|
||||
var host = 'wss://chat.funch.at/'+yacsid;
|
||||
try{
|
||||
socket = new WebSocket(host);
|
||||
socket.onopen = function(){
|
||||
|
@ -906,7 +904,6 @@ function inmeta2(){
|
|||
|
||||
$(document).ready(function()
|
||||
{
|
||||
$('#text').keyup( $.debounce( 250, typing ) );
|
||||
window.onbeforeunload = function (e) {
|
||||
var e = e || window.event;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue