Skip to content
Permalink
Browse files

Update example config

  • Loading branch information...
r04r committed Jan 1, 2018
1 parent 12723ab commit 3d076ebd47302ccccdb6e52104890db94e88420b
Showing with 5 additions and 2 deletions.
  1. +5 −2 includes/config.example.php
@@ -37,8 +37,11 @@
define('SITE_ROOT', realpath(dirname(__FILE__).'/..')); // Do not change, things will break.
define('SITE_TITLE', ''); // The title of your site, shown in the main header among other places.
define('DOMAIN', ($_SERVER['HTTPS'] == 'on' ? 'https' : 'http').'://localhost/'); // Your site's domain -- INCLUDE TRAILING SLASH!
define('STATIC_DOMAIN', ($_SERVER['HTTPS'] == 'on' ? 'https' : 'http').'://localhost/');
define('ENABLE_HTTPS', true);
define('BASE_DOMAIN', 'localhost/'); // Your site's domain -- INCLUDE TRAILING SLASH!
define('DOMAIN', (ENABLE_HTTPS && $_SERVER['HTTPS'] == 'on' ? 'https' : 'http').'://'.BASE_DOMAIN);
define('STATIC_DOMAIN', (ENABLE_HTTPS && $_SERVER['HTTPS'] == 'on' ? 'https' : 'http').'://'.BASE_DOMAIN);
define('SESSION_NAME', 'tinybbs');
define('COOKIE_DOMAIN', '');

0 comments on commit 3d076eb

Please sign in to comment.
You can’t perform that action at this time.