$CONF['log']['logActionsType'] = array(1 => "Add", 2 => "Edit", 4 => "Delete", 8 => "Score", 16 => "Rename TrackLog", 32 => "Create Map"); $CONF['comments']['guestComments'] = true; // we over ride the config values with our custom ones here @(include_once dirname(__FILE__) . "/site/config_custom.php"); @(include_once dirname(__FILE__) . "/site/config_ranks.php"); @(include_once dirname(__FILE__) . "/site/config_servers.php"); $CONF_tmp_path = $CONF_abs_path . '/' . $CONF['paths']['tmpigc']; // was '/files/tmp'; // this loads predefined settings for userDB and settings // to bridge to the users table of different forum/portal/cms systems require_once dirname(__FILE__) . "/site/predefined/{$opMode}/config.php"; setLeonardoPaths(); // time to load the user prefs from cookie require_once dirname(__FILE__) . "/CL_user_prefs.php"; $PREFS = new userPrefs(); if (!$PREFS->getFromCookie() || !$PREFS->themeName || !$PREFS->itemsPerPage) { // echo "NO user prefs cookie found : puting default values<br>"; $PREFS->themeName = $CONF_defaultThemeName; $PREFS->language = $nativeLanguage; $PREFS->viewCat = $CONF_default_cat_view; $PREFS->viewCountry = 0; $PREFS->itemsPerPage = $CONF_itemsPerPage; $PREFS->metricSystem = $CONF_metricSystem; $PREFS->nameOrder = $CONF_defaultNameOrder; $PREFS->googleMaps = $CONF_googleMapsShow; $PREFS->useEditor = $CONF['default_user_prefs']['useEditor']; } if ($PREFS->showNews == -1) { $PREFS->showNews = $CONF['userPrefs']['defaults']['showNews']; } if (isset($_REQUEST['updatePrefs1'])) {