This commit is contained in:
Abdulrahman
2019-06-02 05:46:15 +03:00
parent cb85d77d7b
commit 82087f0971
4 changed files with 14 additions and 9 deletions

View File

@@ -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()));

View File

@@ -893,7 +893,7 @@ function delete_config($name)
//
function update_olang($name, $lang = 'en', $value)
{
global $SQL, $dbprefix;
global $SQL, $dbprefix, $olang;
$update_query = [