summaryrefslogtreecommitdiff
path: root/dash/dash_req.php
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2017-04-13 19:43:30 -0400
committerCarson Fleming <cflems@cflems.net>2017-04-13 19:43:30 -0400
commitd85e6f791413422c74f4a1f5119a891ae19b8d17 (patch)
tree6103e42e9e7a430df4fbd7e6b282391b28d3aec0 /dash/dash_req.php
parent3532ad23553572ef91a9f079eadc6b7454f0cd3a (diff)
downloadbulletin-d85e6f791413422c74f4a1f5119a891ae19b8d17.tar.gz
Forced profile completion for policy reasons
Diffstat (limited to 'dash/dash_req.php')
-rw-r--r--dash/dash_req.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/dash/dash_req.php b/dash/dash_req.php
new file mode 100644
index 0000000..ccfe386
--- /dev/null
+++ b/dash/dash_req.php
@@ -0,0 +1,6 @@
+<?php
+if (!defined('ACC_TYPE')) die;
+if ((is_null($b_user['picture']) || is_null($b_user['address'])) && $_SERVER['SCRIPT_NAME'] != '/dash/profile.php') {
+ l_redirect('dash/profile.php');
+}
+?>