Welcome Guest, Not a member yet? Register   Sign In
supressing errors is really slow
#4

[eluser]xwero[/eluser]
I'm not sure if this is a solution but if you define an error_reporting level in the bootstrap file and in the database driver methods you do
Code:
function db_connect()
    {
       error_reporting(0);
           return mysqli_connect($this->hostname, $this->username, $this->password);
           error_reporting(ERRORLEVEL);
    }


Messages In This Thread
supressing errors is really slow - by El Forum - 04-18-2008, 03:43 AM
supressing errors is really slow - by El Forum - 04-18-2008, 04:14 AM
supressing errors is really slow - by El Forum - 04-18-2008, 04:28 AM
supressing errors is really slow - by El Forum - 04-18-2008, 04:47 AM
supressing errors is really slow - by El Forum - 04-18-2008, 06:18 AM
supressing errors is really slow - by El Forum - 04-18-2008, 06:23 AM
supressing errors is really slow - by El Forum - 04-18-2008, 06:32 AM
supressing errors is really slow - by El Forum - 04-18-2008, 06:38 AM
supressing errors is really slow - by El Forum - 04-18-2008, 07:23 AM
supressing errors is really slow - by El Forum - 04-18-2008, 07:31 AM
supressing errors is really slow - by El Forum - 04-21-2008, 09:43 AM
supressing errors is really slow - by El Forum - 04-21-2008, 01:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB