mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
Remove obsolete code from init
This commit is contained in:
parent
423ef8d36f
commit
8aba48a1d2
@ -62,15 +62,9 @@ if ($tmp_request->isSecure()) {
|
||||
// Remove temporary request to keep global scope clean.
|
||||
unset($tmp_request);
|
||||
|
||||
if (version_compare(phpversion(), '5.4.0', '<')) {
|
||||
if (session_id() == '') {
|
||||
session_start();
|
||||
}
|
||||
} else {
|
||||
if (session_status() == PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
}
|
||||
|
||||
if (function_exists("date_default_timezone_set")) {
|
||||
$timezone = !empty($configs['timezone'])
|
||||
|
Loading…
Reference in New Issue
Block a user