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:
parent
e1bc7af8f3
commit
bda2341698
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue