summaryrefslogtreecommitdiff
path: root/static/includes/settings.inc.php
diff options
context:
space:
mode:
authorPeter Lejeck <peter.lejeck@gmail.com>2013-10-31 13:01:18 +0100
committerPeter Lejeck <peter.lejeck@gmail.com>2013-10-31 13:01:18 +0100
commitafc3e0f15e6c4e69d17fd5a84253a436a4fba4fc (patch)
tree196fcab3f38edf81a00b9b95b4bc64c0a9ee2713 /static/includes/settings.inc.php
parent3cb3570707b13e5e2ae3097a7e872d6c798f7db8 (diff)
Move upload.php into static dir, and do hardcore refactoring
Diffstat (limited to 'static/includes/settings.inc.php')
-rw-r--r--static/includes/settings.inc.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/static/includes/settings.inc.php b/static/includes/settings.inc.php
new file mode 100644
index 0000000..8a7fc7b
--- /dev/null
+++ b/static/includes/settings.inc.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * PDO Connection data
+ */
+// PDO socket
+define('POMF_DB_CONN', 'mysql:host=localhost;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', 5);
+?>