-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.php.dist
More file actions
executable file
·28 lines (28 loc) · 1.74 KB
/
config.php.dist
File metadata and controls
executable file
·28 lines (28 loc) · 1.74 KB
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
<?php
$HEADER_FILE = "header.html"; // Path to the template file
$FOOTER_FILE = "footer.html"; // Path to the template file
$SITE_NAME = "phpHoo5"; // Title of the site (keep short)
$ADMIN_MODE = true; // Set true for admin version
$SEE_ALL_SUBMISSIONS = true; // Set false to show submissions in this category only
$SITE_URL = ""; // Set real URL of site
$SITE_DIR = ""; // Appended to SITE_URL for complete address
$FULL_ADMIN_ACCESS = true; // True to allow admin to create categories
$TOP_CAT_NAME = "Top"; // Name of the top "category"
$ENABLE_EMAIL = "off"; // Set to on to enable email support
$ADMIN_EMAIL = "phphoo@yoursite.com"; // Admin email address used for new links
$SMTP_HOSTNAME = "yourhost.com";
$SMTP_LOCALHOST = "localhost";
$AUTOAPPROVE = false; // True to automatically approve submissions
$REQUIRE_SUBMIT_EMAIL = false; // True to require email for any submissions
$SQL_CAT_TBL = "MyCategories"; // MySQL table name for the categories table
$SQL_LNK_TBL = "MyLinks"; // MySQL table name for the links table
date_default_timezone_set('America/Los_Angeles');
$ADMIN_USER = "user"; // Username to enter admin mode
$ADMIN_PASS = "pass"; // Password to enter admin mode
$ADMIN_COOKIE = "qwetreasdgfd"; // Secret cookie to signal admin mode
$SQL_DBASE = "phpHoo"; // Set name of database to use
$SQL_USER = "phphoo"; // Set database username
$SQL_PASS = ""; // Set database R/W password
$SQL_SERVER = "localhost"; // Set server name
$ANYONE_SUGGEST = "false"; // Allow anyone to suggest links
?>