aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-01-04 21:05:53 +0100
committersteckbrief <steckbrief@chefmail.de>2016-01-04 21:05:53 +0100
commit45cd34e42b9a980b76b66310c823fc8d2f5b55cb (patch)
tree2634c32aabc72218dd1927b05b4455b7737892a9
parent59c6465ad20d1746c41afdd8d72216f409033414 (diff)
Added config.php to gitignore
Added base config.inc.php
-rw-r--r--.gitignore1
-rw-r--r--storage-backend/config.inc.php21
2 files changed, 22 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4f4773f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+config.php
diff --git a/storage-backend/config.inc.php b/storage-backend/config.inc.php
new file mode 100644
index 0000000..f9b7537
--- /dev/null
+++ b/storage-backend/config.inc.php
@@ -0,0 +1,21 @@
+<?php
+/*
+ * Configuration file for http upload storage backend
+ */
+
+return array(
+ // Array of keys of XMPP Server allowed to request slots
+ 'valid_xmpp_server_keys' => array('abc'),
+ // Max Upload size in bytes
+ 'max_upload_file_size' => 10 * 1024 * 1024,
+ // Array of characters which are not allowed in filenames
+ 'invalid_characters_in_filename' => array('/'),
+ // The path to the file storage - IMPORTANT: Add a trailing '/'
+ 'storage_base_path' => '[[PATH_TO_STORAGE]]',
+ // The path to the directory where the slots are stored - IMPORTANT: Add a trailing '/'
+ 'slot_registry_dir' => '[[PATH_TO_SLOT_STORAGE]]',
+ // The base URL to put the files - IMPORTANT: Add a trailing '/'
+ 'base_url_put' => '[[BASE_URL_FOR_PUT]]',
+ // The base URL to get the files - IMPORTANT: Add a trailing '/'
+ 'base_url_get' => '[[BASE_URL_FOR_GET]]',
+);