Update .devilbox/www/htdocs/xdebug.php

Co-authored-by: cytopia <cytopia@everythingcli.org>
This commit is contained in:
Nicola Galgano 2020-12-21 08:24:46 +01:00 committed by GitHub
parent e65685b604
commit 7cad84f527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,13 @@
<style>
body {width: 100% !important;}
</style>
<?php xdebug_info(); ?>
<?php if (($version = phpversion('xdebug')) === false): ?>
<p><code>xdebug</code> module is not enabled.</p>
<?php elseif (!function_exists('xdebug_info')): ?>
<p>Xdebug info only available with <code>xdebug 3.x.x</code> or greater. Your version is <code>xdebug <?php echo $version;?></code></p>
<?php else:?>
<?php xdebug_info(); ?>
<?php endif; ?>
</div>
</div>
</div><!-- /.container -->