mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 22:56:46 +02:00
Disable coverage without Xdebug
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@683 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -24,6 +24,7 @@ if (!extension_loaded("xdebug")) {
|
||||
}
|
||||
|
||||
if ($_GET["start"]) {
|
||||
unset($_SESSION["coverage"]);
|
||||
xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);
|
||||
$_SESSION["coverage"] = array();
|
||||
include "./adminer/index.php";
|
||||
|
Reference in New Issue
Block a user