diff options
Diffstat (limited to '')
-rw-r--r-- | storage-backend/config.inc.php | 21 | ||||
-rw-r--r-- | storage-backend/config/.htaccess | 1 | ||||
-rw-r--r-- | storage-backend/config/config.inc.php | 13 |
3 files changed, 14 insertions, 21 deletions
diff --git a/storage-backend/config.inc.php b/storage-backend/config.inc.php deleted file mode 100644 index f9b7537..0000000 --- a/storage-backend/config.inc.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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]]', -); diff --git a/storage-backend/config/.htaccess b/storage-backend/config/.htaccess new file mode 100644 index 0000000..3418e55 --- /dev/null +++ b/storage-backend/config/.htaccess @@ -0,0 +1 @@ +deny from all
\ No newline at end of file diff --git a/storage-backend/config/config.inc.php b/storage-backend/config/config.inc.php new file mode 100644 index 0000000..dd05a15 --- /dev/null +++ b/storage-backend/config/config.inc.php @@ -0,0 +1,13 @@ +<?php +/* + * Configuration file for http upload storage backend + */ + +return [ + // Array of keys of XMPP Server allowed to request slots + 'valid_xmpp_server_keys' => ['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' => ['/'], +]; |