summaryrefslogtreecommitdiff
path: root/config.php.example
blob: 79880d24ba3e2172a18eac6661a73bae528455af (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
<?php
  # Blaupload configuration
  # Modify this file per your required configuration and name it config.php

  # The base URL used to access the index
  $url = "http://mysite/";

  # The SHA-256 hash of the password used to access the index
  # Set to null if you don't want the index to be password protected
  $pass = "ENTER PASSWORD HASH HERE";

  # The page title used on the logon page, (only displayed if a password is set above)
  $logontitle = "Alice&#39;s private uploader";

  # A file to be included at the top of the page
  # For example an HTML form to upload files
  $headerfile = "upload.html";

  # An array of filenames to omit from the index
  $indexignore = array(".htaccess", "config.php", "index.php", "upload_file.php", "upload.html");

  # An URL to send a POST to when an upload is successful
  $posturl = "http://tghost.co.uk/blaupload";

  #The IRC channel notified by uploads when using the notification URL
  $postchannel = "theblueroom";
?>