diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-20 10:48:47 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-20 10:48:47 -0400 |
commit | cb0916d10e4a42a62f0ac8c69ecb4b7a15f398b4 (patch) | |
tree | d5344b06ee0b87224ec157f44bf513ca7e353b5b /app/Helper/Url.php | |
parent | 7056d14c95888eebe90d023524d4a63e562a9f64 (diff) |
Add automatic action to send a task by email
Diffstat (limited to 'app/Helper/Url.php')
-rw-r--r-- | app/Helper/Url.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/Helper/Url.php b/app/Helper/Url.php index 64b2c83f..e133f195 100644 --- a/app/Helper/Url.php +++ b/app/Helper/Url.php @@ -88,13 +88,7 @@ class Url extends \Core\Base */ public function base() { - $application_url = $this->config->get('application_url'); - - if (! empty($application_url)) { - return $application_url; - } - - return $this->server(); + return $this->config->get('application_url') ?: $this->server(); } /** |