aboutsummaryrefslogtreecommitdiff
path: root/session_doctor.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-04-26 21:03:08 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-04-26 21:13:51 +0200
commitade9edeb849803082856f7633194913ad4df93a0 (patch)
treea864c593f92851678d7ab9fe4e7e9cfdefb539c8 /session_doctor.php
parentc3cc300a952a793b9655226db1aad050daaa3803 (diff)
downloadratatoeskr-cms-ade9edeb849803082856f7633194913ad4df93a0.tar.gz
ratatoeskr-cms-ade9edeb849803082856f7633194913ad4df93a0.tar.bz2
ratatoeskr-cms-ade9edeb849803082856f7633194913ad4df93a0.zip
Automatic code formatting
Diffstat (limited to 'session_doctor.php')
-rw-r--r--session_doctor.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/session_doctor.php b/session_doctor.php
index bde431c..6c1d9b2 100644
--- a/session_doctor.php
+++ b/session_doctor.php
@@ -1,7 +1,8 @@
<?php
session_start();
-if(isset($_POST['session']))
+if (isset($_POST['session'])) {
$_SESSION = json_decode($_POST['session']);
+}
$s_json = json_encode($_SESSION);
?>
<html>