Skip to content

Commit f1c00f0

Browse files
committed
Use __DIR__ constant...
1 parent f3751c9 commit f1c00f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CrossOriginProxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ class CrossOriginProxy
2121
*/
2222
public static function proxy(array $whitelist = [], array $curl_opts = [], $zlib = 'On')
2323
{
24-
require dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'proxy.php';
24+
require __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'proxy.php';
2525
}
2626
}

0 commit comments

Comments
 (0)