-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_template.php
35 lines (31 loc) · 1.1 KB
/
config_template.php
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
27
28
29
30
31
32
33
34
35
<?php
###############################################################################
# The Tech's Masthead and Maillist Maintenance System (3M)
# (or Mast Maintenance and Mailing List System as it was originally
# envisioned)
#
# Author: Zachary Ozer ’07 <[email protected]>
# Modifications by: Ricardo Ramirez <[email protected]>
#
# $Id$
#
# Versions:
# 1.0 - Proof of concept. Shat out a mast, but not much else.
# 1.1 - Minor bug fixes, like sanity checks and string escaping.
# 1.9 - Rewrite major portions so it doesn't look like a ITT Tech student
# wrote it
###############################################################################
require_once 'MDB2.php';
### Database constants
$db_host = 'localhost';
$db_user = "3m";
$db_pass = "SECRET";
$db_name = "3m";
#$db_user = 'developer';
#$db_pass = 'SECRET';
#$db_name = '3m_dev';
### Class year constants
$min_class_year = 1881;
$max_class_year = 2038; # If 3m isn't redone before Unix time rolls, FUCK YOU!
# For special people. Numbers map to relative position against other years
$class_year_map = array(0 => 'G', 9998 => 'CME', 9999 => '');