'language' => 'en', 'lang_use_db' => 'n', 'feature_fullscreen' => 'n', 'error_reporting_level' => 0, 'smarty_notice_reporting' => 'n', 'memcache_enabled' => 'n', 'memcache_expiration' => 3600, 'memcache_prefix' => 'tiki_', 'memcache_compress' => 'y', 'memcache_servers' => false, 'min_pass_length' => 5, 'pass_chr_special' => 'n', 'smarty_compilation' => 'modified', ); // check that tiki_preferences is there if ($tikilib->query("SHOW TABLES LIKE 'tiki_preferences'")->numRows() == 0) { // smarty not initialised at this point to do a polite message, sadly header('location: tiki-install.php'); exit; } $tikilib->get_preferences($needed_prefs, true, true); if ($prefs['session_protected'] == 'y' && ! isset($_SERVER['HTTPS'])) { header("Location: https://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}"); exit; } global $cachelib; require_once ('lib/cache/cachelib.php'); global $logslib; require_once ('lib/logs/logslib.php');