mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Admin-UI: Added an automatic fallback. When the user does not have access to the default route the dispatcher will now look for the first available access route and display it as the default. Also, renamed checkRouteAccess() to hasRouteAccess() and renamed checkModeAccess() to hasModeAccess().
This commit is contained in:
@@ -231,7 +231,10 @@ class e107Email extends PHPMailer
|
||||
|
||||
foreach (array('mailer', 'smtp_server', 'smtp_username', 'smtp_password', 'smtp_port', 'sendmail', 'siteadminemail', 'siteadmin') as $k)
|
||||
{
|
||||
if (!isset($overrides[$k])) $overrides[$k] = $pref[$k];
|
||||
if (!isset($overrides[$k]))
|
||||
{
|
||||
$overrides[$k] = varset($pref[$k]);
|
||||
}
|
||||
}
|
||||
|
||||
if(strpos($overrides['smtp_server'],':')!== false)
|
||||
|
Reference in New Issue
Block a user