diff --git a/piwik.php b/piwik.php index c567b85efcdcb75bdf19e441c393555541b33021..66333134107f5a839b3135a5f08052c82b9d6e32 100644 --- a/piwik.php +++ b/piwik.php @@ -7,7 +7,7 @@ * * @package Piwik */ -$GLOBALS['PIWIK_TRACKER_DEBUG'] = true; +$GLOBALS['PIWIK_TRACKER_DEBUG'] = false; $GLOBALS['PIWIK_TRACKER_DEBUG_FORCE_SCHEDULED_TASKS'] = false; define('PIWIK_ENABLE_TRACKING', true); diff --git a/tests/PHPUnit/IntegrationTestCase.php b/tests/PHPUnit/IntegrationTestCase.php index 89cafe1dddac1ee1b2c8b5f130f4a5d614f27457..8a9c431ca5555c4863e1eed58fe6fe1057f0fd07 100755 --- a/tests/PHPUnit/IntegrationTestCase.php +++ b/tests/PHPUnit/IntegrationTestCase.php @@ -132,7 +132,7 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase } Piwik::createDatabase($dbName); Piwik::disconnectDatabase(); - +throw new Exception("DB NAME IS: $dbName"); // reconnect once we're sure the database exists Piwik_Config::getInstance()->database['dbname'] = $dbName; Piwik::createDatabaseObject();