From daea0d8d4fc1610d3cc282b4546d44529271c1b5 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Thu, 18 Sep 2014 17:10:39 +0200 Subject: bootstrap file --- public_html/vfs_config.php | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'public_html/vfs_config.php') 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'); -- cgit v1.2.3