Don't start coverage without XDebug

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@580 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2009-04-15 11:28:58 +00:00
parent a06f4c1521
commit 9b9379d628

View file

@ -24,8 +24,8 @@ if (!extension_loaded("xdebug")) {
}
if ($_GET["start"]) {
$_SESSION["coverage"] = array();
xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);
$_SESSION["coverage"] = array();
include "./index.php";
header("Location: .");
exit;