1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-18 19:01:52 +02:00

Install Script Fixes

This commit is contained in:
Awilum
2016-01-28 23:30:20 +03:00
parent 6cc44a146e
commit 099fe32d88

6
install.php Normal file → Executable file
View File

@@ -524,8 +524,8 @@
<ul class="list-unstyled"> <ul class="list-unstyled">
<?php <?php
if (version_compare(PHP_VERSION, "5.2.0", "<")) { if (version_compare(PHP_VERSION, "5.3.2", "<")) {
echo '<li class="error alert alert-danger">'.__('PHP 5.2 or greater is required', 'system').'</li>'; echo '<li class="error alert alert-danger">'.__('PHP 5.3.2 or greater is required', 'system').'</li>';
} else { } else {
echo '<li class="ok alert alert-success">'.__('PHP Version', 'system').' '.PHP_VERSION.'</li>'; echo '<li class="ok alert alert-success">'.__('PHP Version', 'system').' '.PHP_VERSION.'</li>';
} }
@@ -603,7 +603,7 @@
<div class="install-block-footer login-footer"> <div class="install-block-footer login-footer">
<div class="text-center"> <div class="text-center">
<span>© 2012 - 2015 <a href="http://monstra.org" class="small-grey-text" target="_blank">Monstra</a> <?php echo __('Version', 'system'); ?> <?php echo Monstra::VERSION; ?></span> <span>© 2012 - 2016 <a href="http://monstra.org" class="small-grey-text" target="_blank">Monstra</a> <?php echo __('Version', 'system'); ?> <?php echo Monstra::VERSION; ?></span>
</div> </div>
</div> </div>