summaryrefslogtreecommitdiff
path: root/static/includes/settings.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'static/includes/settings.inc.php')
-rw-r--r--static/includes/settings.inc.php17
1 files changed, 5 insertions, 12 deletions
diff --git a/static/includes/settings.inc.php b/static/includes/settings.inc.php
index 70c7aec..cb152e8 100644
--- a/static/includes/settings.inc.php
+++ b/static/includes/settings.inc.php
@@ -1,26 +1,19 @@
<?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
+// MySQL user and password
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
+// Maximum number of iterations while generating a new name
define('POMF_FILES_RETRIES', 15);
+// URL to prepend to output (include trailing slash)
+define('POMF_URL', 'http://a.pomf.se/');
-/**
- * Double-dot extensions
- */
$doubledots = array_map('strrev', array(
'tar.gz',
'tar.bz',