-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.inc.php
39 lines (30 loc) · 1.26 KB
/
config.inc.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
<?php
// MySQL connection informations
$mysql_host = "localhost";
$mysql_user = "root";
$mysql_pass = "";
$mysql_base = "mywebrss";
////////////////////////////////////////////////////////////////////////
// API
////////////////////////////////////////////////////////////////////////
// Persona audience (let it blank to guess it)
$PERSONA_AUDIENCE = "http://localhost";
////////////////////////////////////////////////////////////////////////
// CRON
////////////////////////////////////////////////////////////////////////
// Backups configuration (cron/backup.php)
$mysqldump = "/usr/bin/mysqldump";
$backups_dir = "/var/www/MyWebRSS-api/cron/backups/";
// The age of articles to be deleted (in days) by cron/cleanArticles.php
$MAX_ARTICLE_AGE = 30;
// The age of Tokens to be deleted (in days) by cron/cleanTokens.php
$MAX_TOKEN_AGE = 7;
// The age of inactive users to be deleted (in days) by cron/cleanUsers.php
$MAX_INACTIVE_USER_AGE = 60;
// The interval between checks on a feed (in minutes) by cron/refreshFeeds.php
$REFRESH_INTERVAL = 5;
// The maximum number of concurrent refresh processes by cron/refreshFeeds.php
$REFRESH_PROCESSES = 2;
// The maximum time (in days) for keeping wrong feeds and trying to refresh them (cron/refreshFeeds.php)
$WRONG_FEED_TIME = 15;
?>