diff options
Diffstat (limited to 'settings/templates/admin.php')
-rw-r--r-- | settings/templates/admin.php | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 773f337eaf0..1f3701778ab 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -1,8 +1,12 @@ -<?php /** +<?php +/** * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com> * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file. */ +/** + * @var array $_ + */ $levels = array('Debug', 'Info', 'Warning', 'Error', 'Fatal'); $levelLabels = array( $l->t( 'Everything (fatal issues, errors, warnings, info, debug)' ), @@ -192,6 +196,19 @@ if (!$_['internetconnectionworking']) { </div> <?php } + +if ($_['suggestedOverwriteWebroot']) { + ?> + <div class="section"> + <h2><?php p($l->t('URL generation in notification emails'));?></h2> + + <span class="connectionwarning"> + <?php p($l->t('If your installation is not installed in the root of the domain and uses system cron, there can be issues with the URL generation. To avoid these problems, please set the "overwritewebroot" option in your config.php file to the webroot path of your installation (Suggested: "%s")', $_['suggestedOverwriteWebroot'])); ?> + </span> + + </div> +<?php +} ?> <?php foreach ($_['forms'] as $form) { |