Skip to content

Commit

Permalink
Fix missing SUBDOMAIN_INSTALL constant not being set for websites.fue…
Browse files Browse the repository at this point in the history
…r.figuren.theater|.test (#21)
  • Loading branch information
carstingaxion authored Sep 14, 2023
2 parents d57a2f5 + 1b79db8 commit 0d0bccb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wp-config.default.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,12 @@

case 'websites.fuer.figuren.theater':
case 'websites.fuer.figuren.test':
$subdomain_install = true;
// Only for our '/demos' network.
if ( isset( $_SERVER['REQUEST_URI'] ) && 0 === strpos( (string) getenv( 'REQUEST_URI' ), '/demos' ) ) {
define( 'SUBDOMAIN_INSTALL', false );
$subdomain_install = false;
}
define( 'SUBDOMAIN_INSTALL', $subdomain_install );
break;

default:
Expand Down

0 comments on commit 0d0bccb

Please sign in to comment.