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:
jakubvrana 2009-06-13 20:55:57 +00:00
parent e1bc7af8f3
commit bda2341698

View file

@ -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";