aboutsummaryrefslogtreecommitdiffstats
path: root/php/configuration.php
blob: 1f2f423d9a83a148e88a76c42ebe684ec0b37d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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");

?>