Phase 1: Update database configuration and schema (OGP to GSP)
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
ea665c34d5
commit
7f19731158
82 changed files with 730 additions and 730 deletions
|
|
@ -123,7 +123,7 @@ function exec_ogp_module()
|
|||
// Check if user is admin
|
||||
global $db;
|
||||
$isAdmin = false;
|
||||
if(isset($_SESSION['user_id']) && $db && $db instanceof OGPDatabase) {
|
||||
if(isset($_SESSION['user_id']) && $db && $db instanceof GSPDatabase) {
|
||||
$isAdmin = $db->isAdmin($_SESSION['user_id']);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue