1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-25 03:43:33 +01:00

Enable open tracking by default

This commit is contained in:
FreeScout 2018-11-12 06:04:07 -08:00
parent f16ec8422a
commit 52942138f3
2 changed files with 3 additions and 2 deletions

View File

@ -74,7 +74,7 @@ class Module extends Model
public static function isOfficial($author_url)
{
return parse_url($author_url, PHP_URL_HOST) == self::getAppUrl();
return parse_url($author_url, PHP_URL_HOST) == parse_url(\Config::get('app.freescout_url'), PHP_URL_HOST);
}
/**
@ -167,6 +167,6 @@ class Module extends Model
*/
public static function getAppUrl()
{
return parse_url(\Config::get('app.freescout_url'), PHP_URL_HOST);
return parse_url(\Config::get('app.url'), PHP_URL_HOST);
}
}

View File

@ -201,6 +201,7 @@ return [
'alert_fetch' => ['default' => false],
'alert_fetch_period' => ['default' => 15], // min
'email_branding' => ['default' => true],
'open_tracking' => ['default' => true],
],
/*