Skip to content

Commit

Permalink
Modified Emergency Rescue Tool to prevent an error in case phpinfo() …
Browse files Browse the repository at this point in the history
…is disabled
  • Loading branch information
mystralkk committed Jan 10, 2022
1 parent 5f4b8fd commit 2146043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public_html/admin/install/rescue.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ function render($renderType, $args = array()) {
<h2><?php e(26); ?></h2>
<div class="info">
<ul>
<li><?php e(27); ?>: <?php echo PHP_VERSION; ?> <a href="<?php echo $self; ?>?view=phpinfo<?php echo '&amp;lang=' . urlencode($lang); ?>"> <small>phpinfo</small></a></li>
<li><?php e(27); ?>: <?php echo PHP_VERSION; ?> <?php if (is_callable('phpinfo')): ?><a href="<?php echo $self; ?>?view=phpinfo<?php echo '&amp;lang=' . urlencode($lang); ?>"> <small>phpinfo</small></a><?php endif; ?></li>
<li><?php e(28); ?> <?php echo VERSION; ?></li>
</ul>
</div>
Expand Down

0 comments on commit 2146043

Please sign in to comment.