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
path: root/libs
diff options
context:
space:
mode:
authorJames <mooash@gmail.com>2014-01-22 13:39:16 +0400
committerFabian Becker <halfdan@xnorfz.de>2014-01-22 14:39:12 +0400
commit4d835a1bb0bccb563e067e078f748edf707d3406 (patch)
treee295f6e9629deb9f6c4e4c081617fa077c5c44f4 /libs
parent5c617d095cbf0e1454d076c7b06844adbe944c76 (diff)
Fixing PEAR.php path so that the GeoIP untar can function properly without needing php-pear to be installed - bug #4533
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/Archive_Tar/Tar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/Archive_Tar/Tar.php b/libs/Archive_Tar/Tar.php
index 9249a06864..167a485b50 100755
--- a/libs/Archive_Tar/Tar.php
+++ b/libs/Archive_Tar/Tar.php
@@ -39,7 +39,7 @@
* @link http://pear.php.net/package/Archive_Tar
*/
-require_once 'PEAR.php';
+require_once __DIR__ . "/../PEAR.php";
define('ARCHIVE_TAR_ATT_SEPARATOR', 90001);
define('ARCHIVE_TAR_END_BLOCK', pack("a512", ''));