commit b6a03bf8e1e98c72ca54d984de79001c3d326f02 parent 06c927d0fa8724afc3b22f46e55f5607ff5c0ff7 Author: aelasmai <43659122+aelasmai@users.noreply.github.com> Date: Tue, 18 Dec 2018 11:25:01 -0500 Update takesurvey.php Diffstat:
M | website/takesurvey.php | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/website/takesurvey.php b/website/takesurvey.php @@ -1,4 +1,9 @@ <?php + session_start(); + if(!isset($_SESSION['uid'])){ + header("location: login.php?user=notloggedin"); + } + ini_set('display_errors', 'On'); error_reporting(E_ALL | E_STRICT);