diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-08 08:19:14 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-08 08:19:14 +0400 |
commit | cd0cbab3731b988223e7ad44d78306e18fe3096c (patch) | |
tree | 2681dc3b6ee7393c03dca36359a9c9bb8c22d63c /plugins/Live | |
parent | 9d95e1016eb204db445c263975f990b9d59d7f4d (diff) |
fixes #803 - remove unnecessary require_once from core, plugins, and parts of
libs. (I didn't touch: open-flash-chart, Zend Framework, and PEAR HTML.)
Diffstat (limited to 'plugins/Live')
-rw-r--r-- | plugins/Live/API.php | 2 | ||||
-rw-r--r-- | plugins/Live/Controller.php | 3 | ||||
-rw-r--r-- | plugins/Live/Visitor.php | 8 |
3 files changed, 4 insertions, 9 deletions
diff --git a/plugins/Live/API.php b/plugins/Live/API.php index cbf5c65124..a8e3e5063e 100644 --- a/plugins/Live/API.php +++ b/plugins/Live/API.php @@ -9,8 +9,6 @@ * @package Piwik_Live */ -require_once "Live/Visitor.php"; - class Piwik_Live_API { static private $instance = null; diff --git a/plugins/Live/Controller.php b/plugins/Live/Controller.php index 424d438f4b..4b0580834c 100644 --- a/plugins/Live/Controller.php +++ b/plugins/Live/Controller.php @@ -9,9 +9,6 @@ * @package Piwik_Live */ -require_once 'Live/API.php'; - - class Piwik_Live_Controller extends Piwik_Controller { function widget() diff --git a/plugins/Live/Visitor.php b/plugins/Live/Visitor.php index 98343db12d..42a0769ae0 100644 --- a/plugins/Live/Visitor.php +++ b/plugins/Live/Visitor.php @@ -9,10 +9,10 @@ * @package Piwik_Live */ -require_once "Referers/functions.php"; -require_once "UserCountry/functions.php"; -require_once "UserSettings/functions.php"; -require_once "Provider/functions.php"; +require_once PIWIK_INCLUDE_PATH . '/plugins/Referers/functions.php'; +require_once PIWIK_INCLUDE_PATH . '/plugins/UserCountry/functions.php'; +require_once PIWIK_INCLUDE_PATH . '/plugins/UserSettings/functions.php'; +require_once PIWIK_INCLUDE_PATH . '/plugins/Provider/functions.php'; class Piwik_Live_Visitor { |