summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/show_admin_tools.inc.php4
-rw-r--r--templates/show_test.inc17
2 files changed, 21 insertions, 0 deletions
diff --git a/templates/show_admin_tools.inc.php b/templates/show_admin_tools.inc.php
index 7c73fda2..0dc3331d 100644
--- a/templates/show_admin_tools.inc.php
+++ b/templates/show_admin_tools.inc.php
@@ -75,6 +75,10 @@ $users = $GLOBALS['user']->get_recent(10);
<div class="text-action">
<a href="<?php echo $web_path; ?>/admin/duplicates.php"><?php echo _('Show Duplicate Songs'); ?></a>
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=clear_now_playing"><?php echo _('Clear Now Playing'); ?></a>
+ <hr noshade="noshade" size="3" />
+ <a href="<?php echo $web_path; ?>/admin/system.php?action=generate_config"><?php echo _('Generate New Config'); ?></a>
+<!-- <a href="<?php echo $web_path; ?>/admin/system.php?action=check_version"><?php echo _('Check for New Version'); ?></a>
+-->
</div>
<?php show_box_bottom(); ?>
<?php show_box_top(_('User Activity')); ?>
diff --git a/templates/show_test.inc b/templates/show_test.inc
index 54157c65..539b2cb4 100644
--- a/templates/show_test.inc
+++ b/templates/show_test.inc
@@ -135,6 +135,23 @@ $row_classes = array('even','odd');
</td>
</tr>
<tr>
+ <td valign="top"><?php echo _('PHP PutENV Support'); ?></td>
+ <td valign="top">[
+ <?php
+ if (!check_putenv()) {
+ $status['putevn_php'] = false;
+ echo " <font color=\"red\">ERROR</font> ";
+ }
+ else {
+ echo "<font color=\"green\">&nbsp;&nbsp;&nbsp;OK&nbsp;&nbsp;&nbsp;&nbsp;</font> ";
+ }
+ ?>]
+ </td>
+ <td>
+ <?php echo _('This test makes sure that PHP isn\'t running in SafeMode and that we are able to modify the memory limits. While not required, without these abilities some features of ampache may not work correctly'); ?>
+ </td>
+</tr>
+<tr>
<td valign="top"><?php echo _('Ampache.cfg.php Exists'); ?></td>
<td valign="top">[
<?php