summaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
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://";
+ }
+}