summaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
authorroot2014-09-13 22:26:58 +0200
committerroot2014-09-13 22:26:58 +0200
commitc5639ee890215e4e8e0f544821ea8d285ca58eb8 (patch)
tree29f685943c61c4d7ec0e376e485686e985b97065 /config.php
parentf8c60cae423fc78ed21d17a9217716ccc1e6dab1 (diff)
downloadvideo-dl-c5639ee890215e4e8e0f544821ea8d285ca58eb8.tar.gz
init
Diffstat (limited to 'config.php')
-rw-r--r--config.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/config.php b/config.php
new file mode 100644
index 0000000..278271a
--- /dev/null
+++ b/config.php
@@ -0,0 +1,20 @@
+<?php
+
+$ABSPATH = dirname(__FILE__);
+$CACHEDIR="cache";
+$ABSCACHEDIR = $ABSPATH . "/" . $CACHEDIR;
+
+$REDIS_DBNAME=0;
+$REDIS_CONNECT="/var/run/redis/redis.sock";
+
+$MAXSIZE = 50000000;
+$STREAM_MAXSIZE = 200000000;
+
+//$db = new SQLite3($ABSPATH . "/db/sqlite.db");
+
+$scheme = "http://";
+if(isset($_SERVER["HTTPS"])){
+ if($_SERVER["HTTPS"] == "on"){
+ $scheme="https://";
+ }
+}