crawler-user-agents 1.0.106 → 1.0.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.php +1 -1
- package/package.json +1 -1
package/main.php
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?php
|
|
2
2
|
if (!function_exists('get_crawler_user_agents_list')) {
|
|
3
3
|
function get_crawler_user_agents_list() {
|
|
4
|
-
return json_decode(file_get_contents('crawler-user-agents.json'), true);
|
|
4
|
+
return json_decode(file_get_contents(__DIR__.'/crawler-user-agents.json'), true);
|
|
5
5
|
}
|
|
6
6
|
}
|