Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2009-07-08 08:19:14 +0400
committerrobocoder <anthon.pang@gmail.com>2009-07-08 08:19:14 +0400
commit4fb541d1bb1b2bed65142ee2ec98a4a554001165 (patch)
tree2681dc3b6ee7393c03dca36359a9c9bb8c22d63c /core/Updater.php
parent0cc45658c8f23e14dceb663037f512d47ea4e506 (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.) git-svn-id: http://dev.piwik.org/svn/trunk@1296 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Updater.php b/core/Updater.php
index 5460eeef62..47ff510c91 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -9,7 +9,7 @@
* @package Piwik
*/
-require_once "Option.php";
+require_once PIWIK_INCLUDE_PATH . '/core/Option.php';
class Piwik_Updater
{
@@ -73,7 +73,7 @@ class Piwik_Updater
foreach($this->componentsWithUpdateFile[$name] as $file)
{
try {
- require_once $file;
+ require_once $file; // prefixed by PIWIK_INCLUDE_PATH
} catch( Piwik_Updater_UpdateErrorException $e) {
throw $e;
} catch( Exception $e) {