mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
- Removed config file application/config/fhcomplete.php
- Moved config messages entries from fhcomplete.php to application/config/message.php - Renamed the config entry addons_aufnahme_url to message_redirect_url - Adapted application/controllers/Redirect.php to use this new entry
This commit is contained in:
@@ -58,7 +58,7 @@ class Redirect extends FHC_Controller
|
||||
show_error('No organisation unit present in the message');
|
||||
}
|
||||
|
||||
$addonAufnahmeUrls = $this->config->item('addons_aufnahme_url');
|
||||
$addonAufnahmeUrls = $this->config->item('message_redirect_url');
|
||||
if(!isset($addonAufnahmeUrls[$organisationRoot]))
|
||||
$organisationRoot = 'fallback';
|
||||
|
||||
@@ -73,7 +73,7 @@ class Redirect extends FHC_Controller
|
||||
}
|
||||
else
|
||||
{
|
||||
$addonAufnahmeUrls = $this->config->item('addons_aufnahme_url');
|
||||
$addonAufnahmeUrls = $this->config->item('message_redirect_url');
|
||||
if (isset($token)
|
||||
&& hasData($msg)
|
||||
&& is_array($addonAufnahmeUrls)
|
||||
|
||||
Reference in New Issue
Block a user