mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
fixes
This commit is contained in:
@@ -253,6 +253,8 @@ is_array($plugin_run_result = Plugins::getInstance()->run('boot_common', get_def
|
||||
*/
|
||||
date_default_timezone_set('GMT');
|
||||
|
||||
//remove PHP version header
|
||||
header_remove('X-Powered-By');
|
||||
|
||||
//kleeja session id
|
||||
define('KJ_SESSION', preg_replace('/[^-,a-zA-Z0-9]/', '', session_id()));
|
||||
|
||||
@@ -893,7 +893,7 @@ function delete_config($name)
|
||||
//
|
||||
function update_olang($name, $lang = 'en', $value)
|
||||
{
|
||||
global $SQL, $dbprefix;
|
||||
global $SQL, $dbprefix, $olang;
|
||||
|
||||
|
||||
$update_query = [
|
||||
|
||||
Reference in New Issue
Block a user