Added warning message if install.php is detected

If the file install.php is detected an alert-danger message is
displayed on all pages.
This commit is contained in:
Allister Antosik 2013-10-15 19:19:44 +01:00
parent 519aba0ed7
commit e120773803

View file

@ -63,6 +63,14 @@
</div>
<div id="content" class="container">
<?php if (file_exists(PHPCI_DIR . 'public/install.php')): ?>
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<strong>Warning!</strong> install.php detected, for security purposes please delete it immediately.
</div>
<?php endif; ?>
<?php print $content; ?>
</div>