diff options
author | James <mooash@gmail.com> | 2014-01-22 13:39:16 +0400 |
---|---|---|
committer | Fabian Becker <halfdan@xnorfz.de> | 2014-01-22 14:39:12 +0400 |
commit | 4d835a1bb0bccb563e067e078f748edf707d3406 (patch) | |
tree | e295f6e9629deb9f6c4e4c081617fa077c5c44f4 /libs | |
parent | 5c617d095cbf0e1454d076c7b06844adbe944c76 (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-x | libs/Archive_Tar/Tar.php | 2 |
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", '')); |