diff --git a/WordPressMultisiteSubdirectoryValetDriver.php b/WordPressMultisiteSubdirectoryValetDriver.php index 0089e35..3145e62 100644 --- a/WordPressMultisiteSubdirectoryValetDriver.php +++ b/WordPressMultisiteSubdirectoryValetDriver.php @@ -18,8 +18,9 @@ public function serves($sitePath, $siteName, $uri) (strpos( file_get_contents($sitePath . '/wp-config.php'), 'MULTISITE') !== false) && ( //Double check if we are using subdomains. - strpos( file_get_contents($sitePath . '/wp-config.php'), "define('SUBDOMAIN_INSTALL',true)") || - strpos( file_get_contents($sitePath . '/wp-config.php'), "define('SUBDOMAIN_INSTALL', true)") + strpos( file_get_contents($sitePath . '/wp-config.php'), "define('SUBDOMAIN_INSTALL',false)") || + strpos( file_get_contents($sitePath . '/wp-config.php'), "define('SUBDOMAIN_INSTALL', false)") || + strpos( file_get_contents($sitePath . '/wp-config.php'), "define( 'SUBDOMAIN_INSTALL', false )") ); } @@ -99,4 +100,3 @@ private function forceTrailingSlash($uri) return $uri; } } -