aboutsummaryrefslogtreecommitdiffstats
path: root/php/configuration.php.of
diff options
context:
space:
mode:
authoradam <adam@>2021-02-14 15:14:06 +0200
committeradam <adam@>2021-02-14 15:14:06 +0200
commit69239c2a520438b158c23259d8e37f32b4890331 (patch)
treeb039adcb92a86b730ab2e995f88ca0a70e65145e /php/configuration.php.of
parent9f480bbf41205ce77d3d5075f51d91683ebcbacc (diff)
downloadfileup-69239c2a520438b158c23259d8e37f32b4890331.tar.gz
fixed sanity checks
Diffstat (limited to 'php/configuration.php.of')
-rw-r--r--php/configuration.php.of28
1 files changed, 28 insertions, 0 deletions
diff --git a/php/configuration.php.of b/php/configuration.php.of
new file mode 100644
index 0000000..1f2f423
--- /dev/null
+++ b/php/configuration.php.of
@@ -0,0 +1,28 @@
+<?php
+
+$use_https = false;
+
+// The server needs to know its domain name so it can generate download links
+$domain_name="localhost";
+
+// MySQL database name/user/password location
+// VOLATILE - database_name is hard coded in INIT_DATABASE.sql, if you change it here you MUST change that as well
+$database_name="fileup";
+$database_username="root";
+$database_password="";
+$database_location="127.0.0.1";
+
+// This directory MUST exist and PHP's configuration must be able to read/write/delete files inside it
+$storage_root = "C:\\fileup_storage";
+
+
+// Are we using the /trash directory?
+$has_trash=true;
+
+$password_hash_algo=PASSWORD_BCRYPT;
+
+$has_email_verification=false;
+
+@include_once("$_SERVER[HOME]/.fileup.config.php");
+
+?> \ No newline at end of file