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:
parent
519aba0ed7
commit
e120773803
|
@ -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">×</button>
|
||||
<strong>Warning!</strong> install.php detected, for security purposes please delete it immediately.
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php print $content; ?>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue