Index: trunk/core/kernel/application.php =================================================================== diff -u -N -r8568 -r8598 --- trunk/core/kernel/application.php (.../application.php) (revision 8568) +++ trunk/core/kernel/application.php (.../application.php) (revision 8598) @@ -225,8 +225,8 @@ } $this->Conn = new kDBConnection(SQL_TYPE, Array(&$this, 'handleSQLError') ); - $this->Conn->Connect(SQL_SERVER, SQL_USER, SQL_PASS, SQL_DB); $this->Conn->debugMode = $this->isDebugMode(); + $this->Conn->Connect(SQL_SERVER, SQL_USER, SQL_PASS, SQL_DB); $this->Factory = new kFactory(); $this->registerDefaultClasses();