Convert all env() calls to config() calls

This commit is contained in:
Jonny Barnes 2017-02-15 20:44:03 +00:00
parent e032cd5861
commit b4df7a1bbb
10 changed files with 61 additions and 14 deletions

View file

@ -61,7 +61,7 @@ class SendWebMentions implements ShouldQueue
public function discoverWebmentionEndpoint($url, $guzzle)
{
//lets not send webmentions to myself
if (parse_url($url, PHP_URL_HOST) == env('LONG_URL', 'localhost')) {
if (parse_url($url, PHP_URL_HOST) == config('app.longurl')) {
return false;
}
if (starts_with($url, '/notes/tagged/')) {