summaryrefslogtreecommitdiff
path: root/static/includes/settings.inc.php
blob: 68748d354bee837891f0c9d4eea26497a2a6b7b3 (plain)
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
<?php
/**
 * PDO Connection data
 */
// PDO socket
// Or using socket would be even faster then 127.0.0.1 :3
define('POMF_DB_CONN', 'mysql:host=127.0.0.1;dbname=pomf');
// PDO user
define('POMF_DB_USER', 'pomf');
// PDO password
define('POMF_DB_PASS', '***');

/**
 * File stuff
 */
// Root location of files
define('POMF_FILES_ROOT', '/mnt/disk1/pomf/files/');
// How many times to retry when exists() before giving up
define('POMF_FILES_RETRIES', 15);

/**
 * Double-dot extensions
 */
$doubledots = array_map('strrev', array(
	'tar.gz',
	'tar.bz',
	'tar.bz2',
	'tar.xz'
));

?>