diff options
Diffstat (limited to 'public_html/vfs_config.php')
| -rw-r--r-- | public_html/vfs_config.php | 21 |
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'); |
