about summary refs log tree commit diff stats
path: root/login.php
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2020-09-12 17:18:08 +0300
committerAndrew Dolgov <noreply@fakecake.org>2020-09-12 17:18:08 +0300
commit036c8f04f2a154e01c749dba4f1a69c564e423f6 (patch)
treeabc264390a8cc34e1013abcb3c2878adc3a287eb /login.php
parent069489d437f66cded1ef97b18ae832f00b6cba82 (diff)
downloadthe-epube-036c8f04f2a154e01c749dba4f1a69c564e423f6.tar.gz
the-epube-036c8f04f2a154e01c749dba4f1a69c564e423f6.tar.xz
add some basic startup sanity checks
Diffstat (limited to 'login.php')
-rw-r--r--login.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/login.php b/login.php
index b80792b..0e06464 100644
--- a/login.php
+++ b/login.php
@@ -1,5 +1,9 @@
 <?php
 	require_once "config.php";
+	require_once "common.php";
+
+	sanity_check();
+
 	require_once "sessions.php";
 
 	@$op = $_REQUEST["op"];