FAQ: wiki.php.3.txt

File wiki.php.3.txt, 3.3 KB (added by markoseo, 14 months ago)

 online ways  good things  great stuffs  https://delicious.com/designvalley what it is]  https://groups.diigo.com/user/iwebdesignvalley testing time]  why it  shared things  good products  how can  by the way  now  forever  good ways  how can  other ways  good  great things  where to  that is  sure it  not thing  now or not  great sir  what it  I can  or no  where  good  the one  two  number four  number 3  indexed  hope so  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  so far  https://groups.drupal.org/user/2450913 so far]  https://groups.drupal.org/node/305093 so far]  so far  so far  so far

Line 
1<?php
22       /**
33        * Piwik - Open source web analytics
44        *
55        * @link http://piwik.org
66        * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
77        * @version $Id: piwik.php 6103 2012-03-23 03:39:35Z matt $
88        *
99        * @package Piwik
1010       */
1111      $GLOBALS['PIWIK_TRACKER_DEBUG'] = false;
1212      $GLOBALS['PIWIK_TRACKER_DEBUG_FORCE_SCHEDULED_TASKS'] = false;
1313      define('PIWIK_ENABLE_TRACKING', true);
1414     
1515      define('PIWIK_DOCUMENT_ROOT', dirname(__FILE__)=='/'?'':dirname(__FILE__));
1616      if(file_exists(PIWIK_DOCUMENT_ROOT . '/bootstrap.php'))
1717      {
1818              require_once PIWIK_DOCUMENT_ROOT . '/bootstrap.php';
1919      }
2020     
2121      $GLOBALS['PIWIK_TRACKER_MODE'] = true;
2222      error_reporting(E_ALL|E_NOTICE);
2323      @ini_set('xdebug.show_exception_trace', 0);
2424      @ini_set('magic_quotes_runtime', 0);
2525     
2626      if(!defined('PIWIK_USER_PATH'))
2727      {
2828              define('PIWIK_USER_PATH', PIWIK_DOCUMENT_ROOT);
2929      }
3030      if(!defined('PIWIK_INCLUDE_PATH'))
3131      {
3232              define('PIWIK_INCLUDE_PATH', PIWIK_DOCUMENT_ROOT);
3333      }
3434     
3535      @ignore_user_abort(true);
3636     
3737      require_once PIWIK_INCLUDE_PATH .'/libs/upgradephp/upgrade.php';
3838      require_once PIWIK_INCLUDE_PATH .'/libs/Event/Dispatcher.php';
3939      require_once PIWIK_INCLUDE_PATH .'/libs/Event/Notification.php';
4040      require_once PIWIK_INCLUDE_PATH .'/core/PluginsManager.php';
4141      require_once PIWIK_INCLUDE_PATH .'/core/Plugin.php';
4242      require_once PIWIK_INCLUDE_PATH .'/core/Common.php';
4343      require_once PIWIK_INCLUDE_PATH .'/core/IP.php';
4444      require_once PIWIK_INCLUDE_PATH .'/core/Tracker.php';
4545      require_once PIWIK_INCLUDE_PATH .'/core/Config.php';
4646      require_once PIWIK_INCLUDE_PATH .'/core/Tracker/Db.php';
4747      require_once PIWIK_INCLUDE_PATH .'/core/Tracker/IgnoreCookie.php';
4848      require_once PIWIK_INCLUDE_PATH .'/core/Tracker/Visit.php';
4949      require_once PIWIK_INCLUDE_PATH .'/core/Tracker/GoalManager.php';
5050      require_once PIWIK_INCLUDE_PATH .'/core/Tracker/Action.php';
5151      require_once PIWIK_INCLUDE_PATH .'/core/CacheFile.php';
5252      require_once PIWIK_INCLUDE_PATH .'/core/Cookie.php';
5353     
5454      session_cache_limiter('nocache');
5555      @date_default_timezone_set('UTC');
5656     
5757      if(!defined('PIWIK_ENABLE_TRACKING') || PIWIK_ENABLE_TRACKING)
5858      {
5959              ob_start();
6060      }
6161      if($GLOBALS['PIWIK_TRACKER_DEBUG'] === true)
6262      {       
6363              require_once PIWIK_INCLUDE_PATH .'/core/Loader.php';
6464              require_once PIWIK_INCLUDE_PATH .'/core/ErrorHandler.php';
6565              require_once PIWIK_INCLUDE_PATH .'/core/ExceptionHandler.php';
6666              $timer = new Piwik_Timer();
6767              set_error_handler('Piwik_ErrorHandler');
6868              set_exception_handler('Piwik_ExceptionHandler');
6969              printDebug("Debug enabled - Input parameters: <br/>" . var_export($_GET, true));
7070              Piwik_Tracker_Db::enableProfiling();
7171              Piwik::createConfigObject();
7272              Piwik::createLogObject();
7373      }
7474     
7575      if(!defined('PIWIK_ENABLE_TRACKING') || PIWIK_ENABLE_TRACKING)
7676      {
7777              $process = new Piwik_Tracker();
7878              try {
7979                      $process->main();
8080              } catch(Exception $e) {
8181                      echo "Error:" . $e->getMessage();
8282              }
8383              ob_end_flush();
8484              if($GLOBALS['PIWIK_TRACKER_DEBUG'] === true)
8585              {       
8686                      printDebug($_COOKIE);
8787                      printDebug($timer);
8888              }
8989      }