Changeset 114
- Timestamp:
- 10/10/08 16:12:10 (4 years ago)
- Files:
-
- include/config.php (modified) (3 diffs)
- pic/files/unknown.png (modified) (previous)
- pic/flag/afghanistan.gif (modified) (previous)
- pic/smilies/boxing.gif (modified) (previous)
- templates/admin/images/logo.gif (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
include/config.php
r85 r114 2 2 $starttime = explode(' ', microtime()); 3 3 $starttime = $starttime[1] + $starttime[0]; 4 $cache_type = 'memcached'; 4 5 5 6 error_reporting(E_ALL & ~E_NOTICE); … … 111 112 require($tracker_root_path . 'include/constants.php'); 112 113 require($tracker_root_path . 'include/db/' . $db_type . '.php'); 114 require($tracker_root_path . 'include/class.' . $cache_type . '.php'); 113 115 require($tracker_root_path . 'include/class.cache.php'); 114 116 //we don't include some scripts when we are in announce … … 187 189 //end determine user ip 188 190 189 if( !$config['siteonline']&& !defined('IN_ADMIN') && !defined('IN_LOGIN') && !defined('IN_ANNOUNCE') )191 if( ( !isset($config['siteonline']) || !$config['siteonline'] ) && !defined('IN_ADMIN') && !defined('IN_LOGIN') && !defined('IN_ANNOUNCE') ) 190 192 { 191 193 trigger_error('Tracker currently offline, please come back later', E_USER_ERROR);
