diff options
| author | root | 2014-10-19 03:54:53 +0200 |
|---|---|---|
| committer | root | 2014-10-19 03:54:53 +0200 |
| commit | 2330bb06ececee220d854883a2870a3adf17c277 (patch) | |
| tree | e49f6b561faf5b39a81d57d54fa57a1550074c0f /bootstrap.php | |
| parent | a3009bf57d50fbc25a707b32fb3c5c170d011680 (diff) | |
| download | jungegemeinde-2330bb06ececee220d854883a2870a3adf17c277.tar.gz | |
Version 4.1. Support for photo galleries and advanced caching.
Diffstat (limited to 'bootstrap.php')
| -rw-r--r-- | bootstrap.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstrap.php b/bootstrap.php index aab8bbe..ed260d9 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -21,6 +21,10 @@ if ( ! defined('HOST') ) if ( ! defined('DOMAIN') ) define('DOMAIN', SCHEME . HOST); + define('PROTECTED_BASE', 'protected/'); + define('IMAGE_PATH', ABSPATH . PROTECTED_BASE); + define('IMAGE_URL' , DOMAIN . '/images/'); + # define session name if ( ! defined('SESSION') ) define('SESSION', 'JGSID'); @@ -36,6 +40,10 @@ if ( ! defined('INCLASS') ) define('REDIS_CONNECT', '/var/run/redis/redis.sock'); if ( ! defined('REDIS_DB') ) define('REDIS_DB', 2); + if ( ! defined('PAGECACHE_DB') ) + define('PAGECACHE_DB', 1); + if ( ! defined('SECOND_CACHE') ) + define('SECOND_CACHE', 3); if ( ! defined('CACHEPREFIX') ) define('CACHEPREFIX', 'jg_'); @@ -50,6 +58,7 @@ require(ABSPATH . 'functions.php'); require(ABSPATH . INCLASS . 'cache.php'); require(ABSPATH . INCLASS . 'mysql.php'); require(ABSPATH . INCLASS . 'user.php'); +require(ABSPATH . INCLASS . 'moar.php'); # first install only if ( file_exists(ABSPATH . 'setup.php') ) |
