Project creation: fix a couple of bugs

This commit is contained in:
David Anderson 2017-03-06 11:35:00 -08:00
parent d29a166204
commit 61710233cd
2 changed files with 10 additions and 10 deletions

View File

@ -131,7 +131,7 @@ alter table assignment
add index asgn_target(target_type, target_id);
alter table job_file
add unique jf_md5(md5);
add unique jf_name(name);
alter table badge_user
add unique (user_id, badge_id);

View File

@ -15,15 +15,6 @@ require_once("../inc/util.inc");
define("PROJECT", "REPLACE WITH PROJECT NAME");
define("COPYRIGHT_HOLDER", "REPLACE WITH COPYRIGHT HOLDER");
//-------------- contact info
define("SYS_ADMIN_EMAIL", "admin@$master_url");
define("UOTD_ADMIN_EMAIL", "admin@$master_url");
// who gets emails about user of the day pool running low?
define("POST_REPORT_EMAILS", "moderator1@$master_url|moderator2@$master_url");
// Email addresses separated by pipe ( | ) that will receive user reports
// of offensive forum posts.
//-------------- URLs and directories
$master_url = parse_config(get_config(), "<master_url>");
@ -34,6 +25,15 @@ define("PROFILE_PATH", "../user_profile/");
define("PROFILE_URL", "user_profile/");
define("LANGUAGE_FILE", "languages.txt");
//-------------- contact info
define("SYS_ADMIN_EMAIL", "admin@$master_url");
define("UOTD_ADMIN_EMAIL", "admin@$master_url");
// who gets emails about user of the day pool running low?
define("POST_REPORT_EMAILS", "moderator1@$master_url|moderator2@$master_url");
// Email addresses separated by pipe ( | ) that will receive user reports
// of offensive forum posts.
//-------------- Caching
//define("MEMCACHE_SERVERS", "127.0.0.1:11211");