summaryrefslogtreecommitdiff
path: root/public_html/vfs_config.php
diff options
context:
space:
mode:
authorHorus32014-09-18 17:10:39 +0200
committerHorus32014-09-18 17:10:39 +0200
commitdaea0d8d4fc1610d3cc282b4546d44529271c1b5 (patch)
tree96928979d21711b3cc1c94edd53f14db55050adc /public_html/vfs_config.php
parent3fc505c312800cb6e4f8eca3cdb9855d340b4000 (diff)
downloadvfs-daea0d8d4fc1610d3cc282b4546d44529271c1b5.tar.gz
bootstrap file
Diffstat (limited to 'public_html/vfs_config.php')
-rw-r--r--public_html/vfs_config.php21
1 files changed, 7 insertions, 14 deletions
diff --git a/public_html/vfs_config.php b/public_html/vfs_config.php
index 230a3b3..a24fdd1 100644
--- a/public_html/vfs_config.php
+++ b/public_html/vfs_config.php
@@ -9,22 +9,15 @@ define('DBCHARSET', 'utf8');
define('DBPREFIX', 'vfs_');
# absolute path
-if( ! defined(ABSPATH) )
- define('ABSPATH', dirname(__FILE__) . '/');
+# define('ABSPATH', dirname(__FILE__) . '/');
# file directory
-define('FILEPATH', ABSPATH . '/../files');
+# define('FILEPATH', ABSPATH . '../files');
-# scheme, set to http if set, otherwise plain http
-if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')
- define('SCHEME', 'https://');
-else
- define('SCHEME', 'http://');
+# scheme, set to https if possible, otherwise plain http
+# define('SCHEME', 'http://');
+# define('SCHEME', 'https://');
# hostname
-define('HOST', $_SERVER['HTTP_HOST']);
-define('DOMAIN', SCHEME . HOST);
-
-# redis access
-define('REDIS_DBNAME', 1);
-define('REDIS_CONNECT', '/var/run/redis/redis.sock');
+# define('HOST', 'files.iamfabulous.de');
+# define('DOMAIN', 'https://files.iamfabulous.de');