-
Notifications
You must be signed in to change notification settings - Fork 1
/
fof-config-sample.php
executable file
·56 lines (45 loc) · 1.52 KB
/
fof-config-sample.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/*
* This file is part of fofork
*
* http://robisacommonusername.github.io/fofork
*
* config.php - modify this file with your database settings
*
* fofork is derived from Feed on Feeds, by Steven Minutillo
* http://feedonfeeds.com/
*
* Copyright (C) 2004-2007 Stephen Minutillo, 2012-2013 Robert Palmer
* steve@minutillo.com - http://minutillo.com/steve/
*
* Distributed under the GPL - see LICENSE
*
*/
// Database connection information. Host, username, password, database name.
define('FOF_DB_HOST', "host.example.com");
define('FOF_DB_USER', "username");
define('FOF_DB_PASS', "password");
define('FOF_DB_DBNAME', "database");
define('FOF_BASE_URL','http://www.my.domain.com/');
define('FOF_DB_TYPE','mysql');
// The rest you should not need to change
define('BCRYPT_EFFORT', '9');
// DB table names
define('FOF_DB_PREFIX', "fof_");
define('FOF_FEED_TABLE', FOF_DB_PREFIX . "feed");
define('FOF_ITEM_TABLE', FOF_DB_PREFIX . "item");
define('FOF_ITEM_TAG_TABLE', FOF_DB_PREFIX . "item_tag");
define('FOF_SUBSCRIPTION_TABLE', FOF_DB_PREFIX . "subscription");
define('FOF_TAG_TABLE', FOF_DB_PREFIX . "tag");
define('FOF_USER_TABLE', FOF_DB_PREFIX . "user");
define('FOF_COOKIE_TABLE', FOF_DB_PREFIX . 'cookies');
define('FOF_SESSION_TABLE', FOF_DB_PREFIX . 'sessions');
define('FOF_CONFIG_TABLE', FOF_DB_PREFIX . 'config');
// Find ourselves and the cache dir
if (!defined('DIR_SEP')) {
define('DIR_SEP', DIRECTORY_SEPARATOR);
}
if (!defined('FOF_DIR')) {
define('FOF_DIR', dirname(__FILE__) . DIR_SEP);
}
?>