"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "log.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.

log.php  (Open-Web-Analytics-1.6.9):log.php  (Open-Web-Analytics-1.7.0)
skipping to change at line 34 skipping to change at line 34
* *
* @author Peter Adams <peter@openwebanalytics.com> * @author Peter Adams <peter@openwebanalytics.com>
* @copyright Copyright &copy; 2006 Peter Adams <peter@openwebanalytics.com> * @copyright Copyright &copy; 2006 Peter Adams <peter@openwebanalytics.com>
* @license http://www.gnu.org/copyleft/gpl.html GPL v2.0 * @license http://www.gnu.org/copyleft/gpl.html GPL v2.0
* @category owa * @category owa
* @package owa * @package owa
* @version $Revision$ * @version $Revision$
* @since owa 1.0.0 * @since owa 1.0.0
*/ */
// keep php executing even if the client closes the connection
ignore_user_abort(true); ignore_user_abort(true);
// turn off gzip compression // turn off gzip compression
if ( function_exists( 'apache_setenv' ) ) { if ( function_exists( 'apache_setenv' ) ) {
apache_setenv( 'no-gzip', 1 ); apache_setenv( 'no-gzip', 1 );
} }
ini_set('zlib.output_compression', 0); ini_set('zlib.output_compression', 0);
// turn on output buffering if necessary // turn on output buffering if necessary
skipping to change at line 80 skipping to change at line 81
71,73,70,56,57,97,1,0,1,0,128,255,0,192,192,192,0,0,0,33,249,4,1,0,0,0,0 ,44,0,0,0,0,1,0,1,0,0,2,2,68,1,0,59 71,73,70,56,57,97,1,0,1,0,128,255,0,192,192,192,0,0,0,33,249,4,1,0,0,0,0 ,44,0,0,0,0,1,0,1,0,0,2,2,68,1,0,59
); );
} }
// flush all output buffers. No reason to make the user wait for OWA. // flush all output buffers. No reason to make the user wait for OWA.
ob_flush(); ob_flush();
flush(); flush();
ob_end_flush(); ob_end_flush();
// Create instance of OWA // Create instance of OWA
require_once(OWA_BASE_DIR.'/owa_php.php'); require_once(OWA_BASE_DIR.'/owa.php');
$config = array( $config = array(
'tracking_mode' => true 'tracking_mode' => true
); );
$owa = new owa_php( $config ); $owa = new owa( $config );
// check to see if this endpoint is enabled. // check to see if this endpoint is enabled.
if ( $owa->isEndpointEnabled( basename( __FILE__ ) ) ) { if ( $owa->isEndpointEnabled( basename( __FILE__ ) ) ) {
$owa->e->debug('Logging new tracking event from request.'); $owa->e->debug('Logging new tracking event...');
$owa->logEventFromUrl();
$service = owa_coreAPI::serviceSingleton();
$service->request->decodeRequestParams();
$event = owa_coreAPI::supportClassFactory('base', 'event');
$event->setEventType(owa_coreAPI::getRequestParam('event_type'));
$event->setProperties($service->request->getAllOwaParams());
owa_coreAPI::logEvent($event->getEventType(), $event);
} else { } else {
// unload owa // unload owa
$owa->restInPeace(); $owa->restInPeace();
} }
?> ?>
 End of changes. 4 change blocks. 
4 lines changed or deleted 12 lines changed or added

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