Restyle Add Sentry #128

Closed
restyled-io[bot] wants to merge 4 commits from restyled/feat-126 into main
2 changed files with 23 additions and 21 deletions
Showing only changes of commit c4e6f537cb - Show all commits

View File

@@ -22,7 +22,8 @@ if (file_exists("/../includes/install.php")) {
add_action('run_db_populate');
}
function run_db_populate() {
function run_db_populate()
{
// all my glorious one-time-magic.
include("/../includes/install.php");
// after all execution rename your file;
@@ -38,6 +39,7 @@ $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
// OpenID Connect
use Jumbojett\OpenIDConnectClient;
$oidc = new OpenIDConnectClient($_ENV['OIDC_HOST'], $_ENV['OIDC_CLIENT_ID'], $_ENV['OIDC_CLIENT_SECRET']);
if ($_ENV['OIDC_DISABLE_SSL'] == "true") {
$oidc->setVerifyHost(false);