@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | session_set_cookie_params($lifetime, $path, $domain, $secure, true); |
| 29 | 29 | |
| 30 | 30 | $id = session_id(); |
| 31 | - if(empty($id)) { |
|
| 31 | + if (empty($id)) { |
|
| 32 | 32 | session_start(); |
| 33 | 33 | } |
| 34 | 34 | |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | public static function destroySession() |
| 134 | 134 | { |
| 135 | 135 | $id = session_id(); |
| 136 | - if(!empty($id)) { |
|
| 136 | + if (!empty($id)) { |
|
| 137 | 137 | $_SESSION = array(); |
| 138 | 138 | session_destroy(); |
| 139 | 139 | session_start(); |