We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c27adc + f7c7884 commit 96380a2Copy full SHA for 96380a2
src/Http/Url.php
@@ -620,8 +620,9 @@ private function setPath($path)
620
private static function getSuffixes()
621
{
622
if (self::$public_suffix_list === null) {
623
- self::$public_suffix_list = (array) include __DIR__.'/../resources/public_suffix_list.php';
+ self::$public_suffix_list = (@include __DIR__.'/../resources/public_suffix_list.php') ? [];
624
}
625
+
626
return self::$public_suffix_list;
627
628
0 commit comments