Skip to content

Commit 0e0c8e3

Browse files
committed
fix reloadpsl
1 parent 4fcd963 commit 0e0c8e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/reloadpsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function includeIfExists($file)
1414
}
1515
}
1616

17-
if ((!$loader = includeIfExists(__DIR__.'/../vendor/autoload.php'))
17+
if ((!$loader = includeIfExists(__DIR__.'/../autoload.php'))
1818
&& (!$loader = includeIfExists(__DIR__.'/../../../autoload.php')))
1919
{
2020
die("You must set up the project dependencies, run composer install\n");

src/PublicSuffixList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ protected function setLocalPSLName($url)
281281
*/
282282
public function clearDataDirectory($cacheOnly = false)
283283
{
284-
$dir = $this->dataDir;
284+
$dir = __DIR__ . $this->dataDir;
285285
if (is_dir($dir)) {
286286
if ($dirHandle = opendir($dir)) {
287287
while (($file = readdir($dirHandle)) !== false) {

0 commit comments

Comments
 (0)