Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP
Branch: master
19 lines (13 sloc) 435 Bytes
<?php
spl_autoload_register(function($className) {
if($className[0] == '\\') {
$className = substr($className, 1);
}
// Leave if class should not be handled by this autoloader
if(strpos($className, 'UnitedPrototype\\GoogleAnalytics') !== 0) return;
$classPath = strtr(substr($className, strlen('UnitedPrototype')), '\\', '/') . '.php';
if(file_exists(__DIR__ . $classPath)) {
require(__DIR__ . $classPath);
}
});
?>
Jump to Line
Something went wrong with that request. Please try again.

Fatal error: Class 'UnitedPrototype\GoogleAnalytics\Tracker' not found in /home/siagri/www/download.php on line 35