Merge pull request #173 from allistera/master
Added warning message if install.php is detected
This commit is contained in:
commit
bc1486bb7e
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue