* To overwrite these settings copy the file,
* rename it to »config.local.php« and adapt the parameters.
**/
-global $cfg;
/* URL of installation, with traling slash (eg. »https://exmaple.com/jirafeau/«)
*/
*/
$cfg['style'] = 'courgette';
+/* Name the organisation running this installation, eg. 'ACME'
+ */
+$cfg['organisation'] = 'ACME';
+
+/* Provide a contact person for this installation, eg. 'John Doe <doe@example.com>'
+ */
+$cfg['contactperson'] = '';
+
+/* Give the installation a title, eg. 'Datahub' or 'John Doe Filehost'
+ */
+$cfg['title'] = '';
+
/* Propose a preview link if file type is previewable
*/
$cfg['preview'] = true;
*/
$cfg['upload_ip'] = array();
+/* List of IP allowed to upload a file without password.
+ * Elements of the list can be a single IP (e.g. "123.45.67.89") or
+ * an IP range (e.g. "123.45.0.0/16").
+ * Note that CIDR notation is available for IPv4 only for the moment.
+ */
+$cfg['upload_ip_nopassword'] = array();
+
/* Password for the admin interface.
* An empty password will disable the password authentification.
* The password is a sha256 hash of the original version.
* 'year': file available for one year
* 'none': unlimited availability
*/
-$cfg['availabilities'] = array (
+$cfg['availabilities'] = array(
'minute' => true,
'hour' => true,
'day' => true,
* or needs to start the installation script
*/
$cfg['installation_done'] = false;
-
-/* Try to include user's local configuration. */
-if ((basename (__FILE__) != 'config.local.php')
- && file_exists (JIRAFEAU_ROOT.'lib/config.local.php'))
-{
- require (JIRAFEAU_ROOT.'lib/config.local.php');
-}
-
-?>