forked from RomanSixty/Feed-on-Feeds
-
Notifications
You must be signed in to change notification settings - Fork 3
/
fof-config.php.dist
executable file
·60 lines (46 loc) · 1.75 KB
/
fof-config.php.dist
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
57
58
59
60
<?php
/*
* This file is part of FEED ON FEEDS - http://feedonfeeds.com/
*
* config.php - modify this file with your database settings
*
*
* Copyright (C) 2004-2007 Stephen Minutillo
* steve@minutillo.com - http://minutillo.com/steve/
*
* Distributed under the GPL - see LICENSE
*
*/
/* FOF_DATA_PATH
Controls where various data will be written.
Currently this includes log files and the SQLite database (if being used)
*/
define('FOF_DATA_PATH', __DIR__ . '/data/');
// Choose a backend.
define('USE_SQLITE', 1); // Recommended unless you're expecting to support many users
// define('USE_MYSQL', 1);
// Database configuration for SQLite
define('FOF_DB_FILENAME', 'fof.db');
// Database connection information, for mySQL. 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");
// Custom User Agent
// some sites like tumblr deliver HTML to certain user agents and RSS to others
//define('FOF_USER_AGENT', "curl");
// Some mySQL setups may not allow triggers; uncomment this if you need to avoid installing them.
// define('SQL_NO_TRIGGERS', 1);
// define('FOF_AUTH_EXTERNAL',1); // trust server auth to manage users
// define('FOF_AUTH_EXTERNAL_ONLY', 1); // never fall back to internal user/passwords
// define('FOF_AUTH_EXTERNAL_ADD', 1); // create user->id mappings automatically
// maximum number of seconds background update script can run, 0 for indefinitely
define('FOF_UPDATE_TIME_LIMIT', 60 * 10);
// The rest you should not need to change
// DB table names
//define('FOF_DB_PREFIX', "fof_");
// Find ourselves and the cache dir
if (!defined('FOF_DIR')) {
define('FOF_DIR', dirname(__FILE__));
}
?>