Fix php notice + update copyright year
This commit is contained in:
@ -1,4 +1,9 @@
|
||||
Version 1.23.6 - Sep. 1, 2017
|
||||
Version 1.23.6 - Apr. 22, 2018
|
||||
Added Czech, Italian and Ukrainian translation
|
||||
Updated Russian translation
|
||||
Bugfixes
|
||||
|
||||
Version 1.23.5 - Sep. 1, 2017
|
||||
Added Russian and Bulgarian translation
|
||||
Updated Spanish translation
|
||||
Bugfixes and optimizations
|
||||
|
9
chat.php
9
chat.php
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Main program
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -2194,7 +2194,7 @@ function create_session($setup, $nickname, $password){
|
||||
$U['entry']=$U['lastpost']=time();
|
||||
}else{
|
||||
add_user_defaults($password);
|
||||
check_captcha($_REQUEST['challenge'], $_REQUEST['captcha']);
|
||||
check_captcha(isset($_REQUEST['challenge']) ? $_REQUEST['challenge'] : '', isset($_REQUEST['captcha']) ? $_REQUEST['captcha'] : '');
|
||||
$ga=(int) get_setting('guestaccess');
|
||||
if(!valid_nick($U['nickname'])){
|
||||
send_error(sprintf($I['invalnick'], get_setting('maxname'), get_setting('nickregex')));
|
||||
@ -2499,7 +2499,7 @@ function check_member($password){
|
||||
$stmt->execute([$U['nickname']]);
|
||||
if($temp=$stmt->fetch(PDO::FETCH_ASSOC)){
|
||||
if(get_setting('dismemcaptcha')==0){
|
||||
check_captcha($_REQUEST['challenge'], $_REQUEST['captcha']);
|
||||
check_captcha(isset($_REQUEST['challenge']) ? $_REQUEST['challenge'] : '', isset($_REQUEST['captcha']) ? $_REQUEST['captcha'] : '');
|
||||
}
|
||||
if($temp['passhash']===md5(sha1(md5($U['nickname'].$password)))){
|
||||
// old hashing method, update on the fly
|
||||
@ -4174,7 +4174,7 @@ function load_lang(){
|
||||
|
||||
function load_config(){
|
||||
mb_internal_encoding('UTF-8');
|
||||
define('VERSION', '1.23.5'); // Script version
|
||||
define('VERSION', '1.23.6'); // Script version
|
||||
define('DBVERSION', 41); // Database layout version
|
||||
define('MSGENCRYPTED', false); // Store messages encrypted in the database to prevent other database users from reading them - true/false - visit the setup page after editing!
|
||||
define('ENCRYPTKEY', 'MY_KEY'); // Encryption key for messages
|
||||
@ -4196,4 +4196,3 @@ function load_config(){
|
||||
define('COOKIENAME', PREFIX . 'chat_session'); // Cookie name storing the session information
|
||||
define('LANG', 'en'); // Default language
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Bulgarian translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Czech translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - German translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - English translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Spanish translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - French translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Indonesian translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Italian translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Russian translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Ukrainian translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -8,7 +8,7 @@ $file = "<?php
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - $english translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* LE CHAT-PHP - a PHP Chat based on LE CHAT - Simplified Chinese translation
|
||||
*
|
||||
* Copyright (C) 2015-2017 Daniel Winzen <d@winzen4.de>
|
||||
* Copyright (C) 2015-2018 Daniel Winzen <d@winzen4.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
Reference in New Issue
Block a user