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:
parent
f16ec8422a
commit
52942138f3
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -201,6 +201,7 @@ return [
|
||||
'alert_fetch' => ['default' => false],
|
||||
'alert_fetch_period' => ['default' => 15], // min
|
||||
'email_branding' => ['default' => true],
|
||||
'open_tracking' => ['default' => true],
|
||||
],
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user