public_html/wp-content/plugins/wp-statistics/includes/classes/statistics.class.php
// This function will save a set of default options for the plugin.
This function will save a set of default options for the plugin.
This function will save a set of default options for the plugin .
public function Default_Options() {
		$options = array();
		include_once( $this->plugin_dir . '/robotslist.php' );
		$options['robotlist'] = trim( $wps_robotslist );
		$options['search_converted'] =  1;
		$options['geoip'] = FALSE;
		$options['browscap'] = FALSE;
		$options['useronline'] = TRUE;
		$options['visits'] = TRUE;
		$options['visitors'] = TRUE;
		$options['pages'] = TRUE;
		$options['check_online'] = '30';
		$options['menu_bar'] = FALSE;
		$options['coefficient'] = '1';
		$options['stats_report'] = FALSE;
		$options['time_report'] = 'daily';
		$options['send_report'] = 'mail';
		$options['content_report'] = '';
		$options['update_geoip'] = TRUE;
		$options['store_ua'] = FALSE;
		$options['robotlist'] = $wps_robotslist;
		$options['exclude_administrator'] = TRUE;
		$options['disable_se_clearch'] = TRUE;
		$options['disable_se_ask'] = TRUE;
		$options['map_type'] = 'jqvmap';
		$options['force_robot_update'] = TRUE;
		return $options;
	}
public function Default_Options ( ) { $ options = array ( ) ; include_once ( $ this -> plugin_dir . '/robotslist.php' ) ; $ options [ 'robotlist' ] = trim ( $ wps_robotslist ) ; $ options [ 'search_converted' ] = 1 ; $ options [ 'geoip' ] = FALSE ; $ options [ 'browscap' ] = FALSE ; $ options [ 'useronline' ] = TRUE ; $ options [ 'visits' ] = TRUE ; $ options [ 'visitors' ] = TRUE ; $ options [ 'pages' ] = TRUE ; $ options [ 'check_online' ] = '30' ; $ options [ 'menu_bar' ] = FALSE ; $ options [ 'coefficient' ] = '1' ; $ options [ 'stats_report' ] = FALSE ; $ options [ 'time_report' ] = 'daily' ; $ options [ 'send_report' ] = 'mail' ; $ options [ 'content_report' ] = '' ; $ options [ 'update_geoip' ] = TRUE ; $ options [ 'store_ua' ] = FALSE ; $ options [ 'robotlist' ] = $ wps_robotslist ; $ options [ 'exclude_administrator' ] = TRUE ; $ options [ 'disable_se_clearch' ] = TRUE ; $ options [ 'disable_se_ask' ] = TRUE ; $ options [ 'map_type' ] = 'jqvmap' ; $ options [ 'force_robot_update' ] = TRUE ; return $ options ; }
This function will save a set of default options for the plugin.
This function will save a set of default options for the plugin .
// Get the robots list, we'll use this for both upgrades and new installs. // By default, on new installs, use the new search table. // If this is a first time install or an upgrade and we've added options, set some intelligent defaults.