"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/base/classes/settings.php" between
Open-Web-Analytics-1.6.9.tar.gz and Open-Web-Analytics-1.7.0.tar.gz

About: Open Web Analytics (OWA) is web analytics software to track and analyze how people use your web sites and applications.

settings.php  (Open-Web-Analytics-1.6.9):settings.php  (Open-Web-Analytics-1.7.0)
skipping to change at line 556 skipping to change at line 556
$parts = parse_url( PUBLIC_URL ); $parts = parse_url( PUBLIC_URL );
$mailer_domain = $parts['host']; $mailer_domain = $parts['host'];
} }
} }
return array( return array(
'base' => array( 'base' => array(
'ns' => 'owa_', 'ns' => 'owa_',
'visitor_param' => 'v', 'visitor_param' => 'v',
'session_param' => 's', 'session_param' => 's',
'site_session_param' => 'ss', 'site_session_param' => 'ss', //sdk
'last_request_param' => 'last_req', 'last_request_param' => 'last_req',
'feed_subscription_param' => 'sid', 'feed_subscription_param' => 'sid',
'source_param' => 'source', 'source_param' => 'source',
'graph_param' => 'graph', 'graph_param' => 'graph',
'period_param' => 'period', 'period_param' => 'period',
'document_param' => 'document', 'document_param' => 'document',
'referer_param' => 'referer', 'referer_param' => 'referer',
'site_id' => '', 'site_id' => '',
'configuration_id' => '1', 'configuration_id' => '1',
'session_length' => 1800, 'session_length' => 1800, //sdk
'requests_table' => 'request', 'requests_table' => 'request',
'sessions_table' => 'session', 'sessions_table' => 'session',
'referers_table' => 'referer', 'referers_table' => 'referer',
'ua_table' => 'ua', 'ua_table' => 'ua',
'os_table' => 'os', 'os_table' => 'os',
'documents_table' => 'document', 'documents_table' => 'document',
'sites_table' => 'site', 'sites_table' => 'site',
'hosts_table' => 'host', 'hosts_table' => 'host',
'config_table' => 'configuration', 'config_table' => 'configuration',
'version_table' => 'version', 'version_table' => 'version',
skipping to change at line 677 skipping to change at line 677
'track_feed_links' => true, 'track_feed_links' => true,
'theme' => '', 'theme' => '',
'reserved_words' => array('do' => 'action'), 'reserved_words' => array('do' => 'action'),
'login_view' => 'base.login', 'login_view' => 'base.login',
'not_capable_view' => 'base.error', 'not_capable_view' => 'base.error',
'start_page' => 'base.sites', 'start_page' => 'base.sites',
'default_action' => 'base.loginForm', 'default_action' => 'base.loginForm',
'default_page' => '', // move to site set tings 'default_page' => '', // move to site set tings
'default_cache_expiration_period' => 604800, 'default_cache_expiration_period' => 604800,
'nonce_expiration_period' => 7200, 'nonce_expiration_period' => 7200,
'max_prior_campaigns' => 5, 'max_prior_campaigns' => 5, //sdk
'default_reporting_period' => 'last_seven_days', 'default_reporting_period' => 'last_seven_days',
'campaign_params' => array( 'campaign_params' => array(
'campaign' => 'owa_campaign', 'campaign' => 'owa_campaign',
'medium' => 'owa_medium', 'medium' => 'owa_medium',
'source' => 'owa_source', 'source' => 'owa_source',
'search_terms' => 'owa_search_terms', 'search_terms' => 'owa_search_terms',
'ad' => 'owa_ad', 'ad' => 'owa_ad',
'ad_type' => 'owa_ad_type'), 'ad_type' => 'owa_ad_type'),
'trafficAttributionMode' => 'direct', 'trafficAttributionMode' => 'direct', //sdk
'campaignAttributionWindow' => 60, 'campaignAttributionWindow' => 60, //sdk
//list of capabilities that require access to the site //list of capabilities that require access to the site
'capabilitiesThatRequireSiteAccess' => array( 'capabilitiesThatRequireSiteAccess' => array(
'view_reports', 'view_reports',
'view_reports_ecommerce', 'view_reports_ecommerce',
'edit_sites', 'edit_sites',
), ),
// role to capabilities configuration // role to capabilities configuration
'capabilities' => array( 'capabilities' => array(
'admin' => array( 'admin' => array(
'view_site_list', 'view_site_list',
skipping to change at line 720 skipping to change at line 720
'numGoalGroups' => 5, 'numGoalGroups' => 5,
'enableEcommerceReporting' => false, // move to site settings 'enableEcommerceReporting' => false, // move to site settings
'currencyLocal' => 'en_US', // move to si te settings 'currencyLocal' => 'en_US', // move to si te settings
'currencyISO3' => 'USD', // move to sit e settings 'currencyISO3' => 'USD', // move to sit e settings
'memcachedServers' => array(), 'memcachedServers' => array(),
'memcachedPersisantConnections' => true, 'memcachedPersisantConnections' => true,
'cacheType' => 'file', 'cacheType' => 'file',
'disabledEndpoints' => array(), 'disabledEndpoints' => array(),
'disableAllEndpoints' => false, 'disableAllEndpoints' => false,
'processQueuesJobSchedule' => '10 * * * *', 'processQueuesJobSchedule' => '10 * * * *',
'maxCustomVars' => 5, 'maxCustomVars' => 5, //sdk
'update_session_user_name' => true, // updates the se ssion with latest user_name value 'update_session_user_name' => true, // updates the se ssion with latest user_name value
'log_owa_user_names' => true, // logs the OWA us er name as the user_name property on events 'log_owa_user_names' => true, // logs the OWA us er name as the user_name property on events
'logo_image_path' => 'base/i/owa-logo-100w.pn g', 'logo_image_path' => 'base/i/owa-logo-100w.pn g',
'use_64bit_hash' => false, 'use_64bit_hash' => false,
'user_id_illegal_chars' => array( " ", ";", "'", "\"", "|", ")", "("), 'user_id_illegal_chars' => array( " ", ";", "'", "\"", "|", ")", "("),
'archive_old_events' => true, // used by event qu eues to archive processed events. 'archive_old_events' => true, // used by event qu eues to archive processed events.
'request_mode' => 'web_a 'request_mode' => 'web_a
pp' pp',
'db_supported_types' => ['mysql' => 'M
ySQL']
) )
); );
} }
/** /**
* sets the basic path settings in the config object like "public_path" / " images_url" ... * sets the basic path settings in the config object like "public_path" / " images_url" ...
* @return void * @return void
*/ */
private function setupPaths() { private function setupPaths() {
skipping to change at line 778 skipping to change at line 779
$this->set('base','public_path', $public_path); $this->set('base','public_path', $public_path);
} }
// set various paths // set various paths
$public_url = $this->get('base', 'public_url'); $public_url = $this->get('base', 'public_url');
$main_url = $public_url.'index.php'; $main_url = $public_url.'index.php';
$this->set('base','main_url', $main_url); $this->set('base','main_url', $main_url);
$this->set('base','main_absolute_url', $main_url); $this->set('base','main_absolute_url', $main_url);
$modules_url = $public_url.'modules/'; $modules_url = $public_url.'modules/';
$this->set('base','modules_url', $modules_url); $this->set('base','modules_url', $modules_url);
$this->set('base','action_url',$public_url.'action.php'); //$this->set('base','action_url',$public_url.'action.php');
$this->set('base','images_url', $modules_url); $this->set('base','images_url', $modules_url);
$this->set('base','images_absolute_url',$modules_url); $this->set('base','images_absolute_url',$modules_url);
$this->set('base','log_url',$public_url.'log.php'); $this->set('base','log_url',$public_url.'log.php');
$this->set('base','rest_api_url',$public_url.'api/index.php'); $this->set('base','rest_api_url',$public_url.'api/index.php');
$this->set('base', 'error_log_file', OWA_DATA_DIR . 'logs/errors_'. owa_ coreAPI::generateInstanceSpecificHash() .'.txt'); $this->set('base', 'error_log_file', OWA_DATA_DIR . 'logs/errors_'. owa_ coreAPI::generateInstanceSpecificHash() .'.txt');
$this->set('base', 'async_log_dir', OWA_DATA_DIR . 'logs/'); $this->set('base', 'async_log_dir', OWA_DATA_DIR . 'logs/');
owa_coreAPI::debug('check for http host'); owa_coreAPI::debug('check for http host');
// Set cookie domain // Set cookie domain
 End of changes. 7 change blocks. 
9 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)