Bug #37085 ยป CookieJar.php.1.diff
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';
|
||
}
|