mirror of
https://github.com/Mibew/mibew.git
synced 2025-04-25 15:56:07 +03:00
Fix code styling in the contributed code
This commit is contained in:
parent
e9526daf1c
commit
680059dece
@ -60,17 +60,14 @@ if ($tmp_request->isSecure()) {
|
|||||||
unset($tmp_request);
|
unset($tmp_request);
|
||||||
|
|
||||||
if (version_compare(phpversion(), '5.4.0', '<')) {
|
if (version_compare(phpversion(), '5.4.0', '<')) {
|
||||||
if(session_id() == '') {
|
if (session_id() == '') {
|
||||||
session_start();
|
session_start();
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
if (session_status() == PHP_SESSION_NONE) {
|
if (session_status() == PHP_SESSION_NONE) {
|
||||||
session_start();
|
session_start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (function_exists("date_default_timezone_set")) {
|
if (function_exists("date_default_timezone_set")) {
|
||||||
$timezone = !empty($configs['timezone'])
|
$timezone = !empty($configs['timezone'])
|
||||||
|
Loading…
Reference in New Issue
Block a user