Project

General

Profile

Bug #37085 ยป CookieJar.php.1.diff

patch file - Alexander Opitz, 2012-05-11 10:53

View differences:

contrib/pear/HTTP/Request2/CookieJar.php
$path = '@data_dir@' . DIRECTORY_SEPARATOR . 'HTTP_Request2';
if (0 === strpos($path, '@' . 'data_dir@')) {
$path = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..'
. DIRECTORY_SEPARATOR . 'data');
. DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'data'
. DIRECTORY_SEPARATOR . 'HTTP_Request2'
);
}
self::$psl = include_once $path . DIRECTORY_SEPARATOR . 'public-suffix-list.php';
}
    (1-1/1)