summaryrefslogtreecommitdiffstats
path: root/templates/show_install_lang.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-02-03 02:53:36 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-02-03 03:51:37 -0500
commit954748b0ae4580ca9e49f5398828dd3338c1325c (patch)
tree4698ec63d426315824ba44f401b8a414ed00da5d /templates/show_install_lang.inc.php
parent675fd21cf145ff882463d604fe9e4bf9defa256e (diff)
downloadampache-954748b0ae4580ca9e49f5398828dd3338c1325c.tar.gz
ampache-954748b0ae4580ca9e49f5398828dd3338c1325c.tar.bz2
ampache-954748b0ae4580ca9e49f5398828dd3338c1325c.zip
Reuse our tests in the install check
The install check was drifting significantly from being correct. Which is what happens when you duplicate code.
Diffstat (limited to 'templates/show_install_lang.inc.php')
-rw-r--r--templates/show_install_lang.inc.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/templates/show_install_lang.inc.php b/templates/show_install_lang.inc.php
index 63e3290e..8fa5240b 100644
--- a/templates/show_install_lang.inc.php
+++ b/templates/show_install_lang.inc.php
@@ -23,12 +23,7 @@
$prefix = realpath(dirname(__FILE__). "/../");
require $prefix . '/templates/install_header.inc.php';
?>
-<?php require_once 'templates/show_install_check.inc.php'; ?>
-<?php if (Error::occurred()) { ?>
- <div class="content">
- <span class="fatalerror"><?php echo T_('Minimum requirements not met. Unable to install Ampache.'); ?></span>
- </div>
-<?php } ?>
+<?php require_once $prefix . '/templates/show_install_check.inc.php'; ?>
<div class="content">
<strong><?php echo T_('Choose Installation Language'); ?></strong>