swap hardcoded public values for DB_SCHEMA constant

This commit is contained in:
Matthew Bucci
2024-10-18 23:07:05 -07:00
parent 129aa7f171
commit 36726124a4
7 changed files with 33 additions and 9 deletions
+5
View File
@@ -49,6 +49,11 @@ if(!defined('PG4WP_ROOT')) {
mkdir(PG4WP_LOG);
}
// Default to public schema
if (!defined('DB_SCHEMA')) {
define('DB_SCHEMA', 'public');
}
// Here happens all the magic
require_once(PG4WP_ROOT . '/core.php');
} // Protection against multiple loading