-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.inc.php
More file actions
26 lines (23 loc) · 833 Bytes
/
Config.inc.php
File metadata and controls
26 lines (23 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
// set this to the name of your website
define("SITENAME", "KPWF Test Site");
// set this to true if you want to require administrator approval of new accounts
$confAdminApprovalRequired = true;
define("E_USERNAME_EXISTS", 0);
define("E_EMAIL_EXISTS", 1);
define("E_PREPARED_STMT_UNRECOV", 2);
define("E_USER_NO_EXIST", 3);
define("E_USERID_NO_EXIST", 4);
define("E_NO_VER_CODE", 5);
define("E_TOO_MANY_ARGS", 6);
define("E_INVALID_VERIFICATION_CODE", 7);
define("REGISTRATION_SUCCEEDED", 8);
define("VERIFY_SUCCEEDED", 9);
define("VERIFY_FAILED_INVALID_CODE", 10);
define("LOGIN_SUCCEEDED", 11);
define("LOGIN_FAILED_PASSWORD", 12);
define("LOGIN_FAILED_NOT_VERIFIED", 13);
define("LOGIN_FAILED_NOT_APPROVED", 14);
define("SQL_ERROR_DUP_ENTRY", 1062);
define("SQL_ERROR_DUP_ENTRY_KEYNAME", 1586);
?>