summaryrefslogtreecommitdiff
path: root/download.php
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-12 22:20:03 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-12 22:20:03 +0100
commitce3ac0671bce24b0af715de77bc1f9b311c4b11f (patch)
tree8e2c8e0281fb2295c29be07fe3dd48e7789dc9c7 /download.php
parent948fcd838d9430fd25da70bb8c3d1b0bf5357e6a (diff)
added a working version of the class and a simple download script
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'download.php')
-rw-r--r--download.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/download.php b/download.php
new file mode 100644
index 0000000..6ec810f
--- /dev/null
+++ b/download.php
@@ -0,0 +1,12 @@
+<?php
+
+if (isset($_GET['file']) && $_GET['file']) {
+
+ require_once('PHP_DW.php');
+
+ $dw = new PHP_DW();
+
+ $dw->download($_GET['file']);
+}
+
+?>