Fix update from older versions
This commit is contained in:
@ -1,3 +1,6 @@
|
|||||||
|
Version 1.23.4 - Jan. 23, 2017
|
||||||
|
Fix update from older versions
|
||||||
|
|
||||||
Version 1.23.3 - Jan. 17, 2017
|
Version 1.23.3 - Jan. 17, 2017
|
||||||
Fix restoring members in backup and restore
|
Fix restoring members in backup and restore
|
||||||
|
|
||||||
|
5
chat.php
5
chat.php
@ -54,7 +54,6 @@ route();
|
|||||||
function route(){
|
function route(){
|
||||||
global $U;
|
global $U;
|
||||||
if(!isset($_REQUEST['action'])){
|
if(!isset($_REQUEST['action'])){
|
||||||
update_db();
|
|
||||||
send_login();
|
send_login();
|
||||||
}elseif($_REQUEST['action']==='view'){
|
}elseif($_REQUEST['action']==='view'){
|
||||||
check_session();
|
check_session();
|
||||||
@ -220,7 +219,6 @@ function route_admin(){
|
|||||||
|
|
||||||
function route_setup(){
|
function route_setup(){
|
||||||
global $U;
|
global $U;
|
||||||
update_db();
|
|
||||||
if(!valid_admin()){
|
if(!valid_admin()){
|
||||||
send_alogin();
|
send_alogin();
|
||||||
}
|
}
|
||||||
@ -4097,6 +4095,7 @@ function check_db(){
|
|||||||
}elseif($_REQUEST['action']==='init'){
|
}elseif($_REQUEST['action']==='init'){
|
||||||
init_chat();
|
init_chat();
|
||||||
}
|
}
|
||||||
|
update_db();
|
||||||
}
|
}
|
||||||
|
|
||||||
function load_fonts(){
|
function load_fonts(){
|
||||||
@ -4151,7 +4150,7 @@ function load_lang(){
|
|||||||
|
|
||||||
function load_config(){
|
function load_config(){
|
||||||
mb_internal_encoding('UTF-8');
|
mb_internal_encoding('UTF-8');
|
||||||
define('VERSION', '1.23.3'); // Script version
|
define('VERSION', '1.23.4'); // Script version
|
||||||
define('DBVERSION', 41); // Database layout 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('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
|
define('ENCRYPTKEY', 'MY_KEY'); // Encryption key for messages
|
||||||
|
Reference in New Issue
Block a user