diff options
Diffstat (limited to 'web/common.php')
-rw-r--r-- | web/common.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/web/common.php b/web/common.php deleted file mode 100644 index 9fd34f8..0000000 --- a/web/common.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -define('DB_NAME','expoj'); -define('DB_USER','expoj'); -define('DB_PASSWORD',''); -define('SEC_SALT','xxxxx'); - -function sec_checkuser($userid,$usersec){ - if($userid == '' || $usersec == '' || strval(intval($userid)) != $userid || hash('sha512',$userid.SEC_SALT) != $usersec){ - return false; - } - - return true; -} - -?> |