mirror of
https://github.com/cytopia/devilbox.git
synced 2025-06-18 15:18:14 +00:00
32
.devilbox/www/htdocs/xdebug.php
Normal file
32
.devilbox/www/htdocs/xdebug.php
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<?php require '../config.php'; ?>
|
||||||
|
<?php loadClass('Helper')->authPage(); ?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<?php echo loadClass('Html')->getHead(); ?>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<?php echo loadClass('Html')->getNavbar(); ?>
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<style>
|
||||||
|
body {width: 100% !important;}
|
||||||
|
</style>
|
||||||
|
<?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 -->
|
||||||
|
|
||||||
|
<?php echo loadClass('Html')->getFooter(); ?>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -91,6 +91,10 @@ class Html
|
|||||||
array(
|
array(
|
||||||
'name' => 'Memcached Info',
|
'name' => 'Memcached Info',
|
||||||
'path' => '/info_memcd.php'
|
'path' => '/info_memcd.php'
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'name' => 'XDebug Control Panel',
|
||||||
|
'path' => '/xdebug.php'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user