diff --git a/resources/classes/database.php b/resources/classes/database.php index 0f487209ce..3adcc9dba5 100644 --- a/resources/classes/database.php +++ b/resources/classes/database.php @@ -736,7 +736,7 @@ echo "
";
 					print_r($backtrace);
 					echo "
"; - exit; + return false; } //query table store to see if the table exists @@ -1572,7 +1572,7 @@ if (!$this->db) { echo "Connection Failed
\n"; echo "line number ".__line__."
\n"; - exit; + return false; } //set the error mode @@ -2200,7 +2200,7 @@ echo $sql."
\n"; echo 'Caught exception: '. $e->getMessage()."

\n"; echo $sql. "

\n"; - exit; + return false; } //set the action @@ -2526,7 +2526,7 @@ echo $sql."
\n"; echo 'Caught exception: '. $e->getMessage()."

\n"; echo $sql. "

\n"; - exit; + return false; } } @@ -2908,7 +2908,7 @@ } catch(PDOException $e) { echo $e->getMessage(); - exit; + return false; } } return $this->message;