Changeset 463
- Timestamp:
- 01/13/08 20:20:48 (12 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
modules/base/processRequest.php (modified) (1 diff)
-
modules/base/templates/js_helper_tags.tpl (modified) (1 diff)
-
owa_caller.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/base/processRequest.php
r424 r463 50 50 51 51 // Do not log if the first_hit cookie is still present. 52 if (!empty($this->params[$this->config['first_hit_param'].'_'.$this-> config['site_id']])):52 if (!empty($this->params[$this->config['first_hit_param'].'_'.$this->params['site_id']])): 53 53 $this->e->debug('Aborting request processing due to finding first hit cookie.'); 54 54 return; -
trunk/modules/base/templates/js_helper_tags.tpl
r378 r463 4 4 <script type="text/javascript"> 5 5 //<![CDATA[ 6 document.write('<img src="<?=$this->makeAbsolutelink(array('action' => 'base.processFirstRequest' ), '', $this->config['action_url']);?>">');6 document.write('<img src="<?=$this->makeAbsolutelink(array('action' => 'base.processFirstRequest', 'site_id' => $this->config['site_id']), '', $this->config['action_url']);?>">'); 7 7 //]]> 8 8 </script> -
trunk/owa_caller.php
r462 r463 212 212 $this->api->setupFramework(); 213 213 214 // needed in standalone installs where site_id is not set in config file. 215 if ($this->params['site_id']): 216 $this->c->set('base', 'site_id', $this->params['site_id']); 217 endif; 218 214 219 return; 215 220 … … 251 256 $this->config['site_id'] = $caller_params['site_id']; 252 257 $this->c->set('base', 'site_id', $caller_params['site_id']); 258 else: 259 $caller_params['site_id'] = $this->c->get('base', 'site_id'); 253 260 endif; 254 261 … … 283 290 if ($this->config['log_robots'] != true): 284 291 if ($bcap->robotCheck() == true): 292 $this->e->debug("ABORTING: request appears to be from a robot"); 285 293 return; 286 294 endif;
