mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 18:42:00 -04:00
Improve exceptions in DB classes
This commit is contained in:
parent
fdca261133
commit
e14988ff8c
4 changed files with 29 additions and 38 deletions
|
@ -27,6 +27,8 @@ if(SITE_STATUS == SITE_STATUS_LIVE){
|
|||
});
|
||||
}
|
||||
|
||||
$GLOBALS['DbConnection'] = new DbConnection(DATABASE_DEFAULT_DATABASE, DATABASE_DEFAULT_HOST);
|
||||
|
||||
$GLOBALS['User'] = Session::GetLoggedInUser();
|
||||
|
||||
if($GLOBALS['User'] === null){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue