Subversion Repositories SmartDukaan

Rev

Rev 11683 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11683 Rev 11805
Line 31... Line 31...
31
if (defined('ENVIRONMENT'))
31
if (defined('ENVIRONMENT'))
32
{
32
{
33
	switch (ENVIRONMENT)
33
	switch (ENVIRONMENT)
34
	{
34
	{
35
		case 'development':
35
		case 'development':
36
			error_reporting(E_ALL);
36
			error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
37
			ini_set('display_errors', 'on');
37
			ini_set('display_errors', 'on');
38
			define('_PS_DEBUG_SQL_', true);
38
			define('_PS_DEBUG_SQL_', true);
39
		break;
39
		break;
40
	
40
	
41
		case 'testing':
41
		case 'testing':