summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-05-23 16:44:25 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-05-23 16:44:25 +0000
commitc2a57645536f71cc206d658484359d477b454677 (patch)
tree9f0cb5b992d4bfa74a76b9428a1d8feb47cfa66e /templates
parentd4b700e2fe1eeb47fbea7b61c295eba16f30c41c (diff)
downloadampache-c2a57645536f71cc206d658484359d477b454677.tar.gz
ampache-c2a57645536f71cc206d658484359d477b454677.tar.bz2
ampache-c2a57645536f71cc206d658484359d477b454677.zip
updated test.php
Diffstat (limited to 'templates')
-rw-r--r--templates/show_test.inc38
1 files changed, 30 insertions, 8 deletions
diff --git a/templates/show_test.inc b/templates/show_test.inc
index fe0d3220..237f48cc 100644
--- a/templates/show_test.inc
+++ b/templates/show_test.inc
@@ -29,9 +29,11 @@ $row_classes = array('even','odd');
<title>Ampache -- Debug Page</title>
</head>
<body bgcolor="#f0f0f0">
-<h2><?php echo _('Ampache Debug'); ?></h2>
+<?php require_once('templates/install.css'); ?>
+<div id="header">
+<h1><?php echo _('Ampache Debug'); ?></h1>
<p><?php echo _('You\'ve reached this page because a configuration error has occured. Debug Information below'); ?></p>
-
+</div>
<table border="0" cellpadding="3" cellspacing="0">
<tr>
<td><font size="+1"><?php echo _('CHECK'); ?></font></td>
@@ -100,7 +102,7 @@ $row_classes = array('even','odd');
<tr>
<td valign="top"><?php echo _('PHP ICONV Support'); ?></td>
<td valign="top">[
- <?
+ <?php
if (!check_php_iconv()) {
$status['iconv_php'] = 'false';
echo " <font color=\"red\">ERROR</font> ";
@@ -116,9 +118,26 @@ $row_classes = array('even','odd');
</td>
</tr>
<tr>
+ <td valign="top"><?php echo _('PHP PCRE Support'); ?></td>
+ <td valign="top">[
+ <?php
+ if (!check_php_pcre()) {
+ $status['pcre_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 you have PCRE support compiled into your version of PHP, this is required for Ampache.'); ?>
+ </td>
+</tr>
+<tr>
<td valign="top"><?php echo _('Ampache.cfg.php Exists'); ?></td>
<td valign="top">[
- <?
+ <?php
if (!read_config_file($configfile)) {
$status['read_config'] = 'false';
echo " <font color=\"red\">ERROR</font> ";
@@ -261,8 +280,11 @@ $row_classes = array('even','odd');
logo here then your web_path is not set correctly.
</td>
</tr>
-
</table>
-
-
-
+</div>
+<div id="bottom">
+<p><b>Ampache Debug.</b><br />
+For the love of Music.</p>
+</div>
+</body>
+</html>