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.
1 parent f3751c9 commit f1c00f0Copy full SHA for f1c00f0
src/CrossOriginProxy.php
@@ -21,6 +21,6 @@ class CrossOriginProxy
21
*/
22
public static function proxy(array $whitelist = [], array $curl_opts = [], $zlib = 'On')
23
{
24
- require dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'proxy.php';
+ require __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'proxy.php';
25
}
26
0 commit comments