swap hardcoded public values for DB_SCHEMA constant

This commit is contained in:
Matthew Bucci committed 2024-10-18 23:07:05 -07:00
1 parent 129aa7f171
commit 36726124a4
7 files changed
+33 -9

No files matched your search

+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