Skip to content

Commit

Permalink
TESTAPP: Fixed bug if MULTISITE is not defined in wp-config.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona committed Oct 16, 2015
1 parent c9a050e commit 57895b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testapp.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require_once('testlib/testlib.php');

// Get DB_NAME
if (MULTISITE) $dbname = DB_NAME;
if (MULTISITE === true) $dbname = DB_NAME;
else $dbname = DB_NAME.'_global';

// Get DB_HOST and DB_PORT
Expand Down

0 comments on commit 57895b2

Please sign in to comment.