From 8b96e6b060d304435e822a0f15b2c67927fc1a33 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 10 Mar 2017 09:05:08 -0500 Subject: [PATCH] Attempt fix for issue processwire/processwire-issues#206 fix for multi-site config not working --- wire/core/ProcessWire.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/core/ProcessWire.php b/wire/core/ProcessWire.php index 296d8fb3..7bf886b6 100644 --- a/wire/core/ProcessWire.php +++ b/wire/core/ProcessWire.php @@ -772,7 +772,6 @@ class ProcessWire extends Wire { $rootPath = rtrim($rootPath, '/'); $_rootURL = $rootURL; if(is_null($rootURL)) $rootURL = '/'; - $sitePath = $rootPath . "/$siteDir/"; // check what rootPath is referring to if(strpos($rootPath, "/$siteDir")) { @@ -834,6 +833,7 @@ class ProcessWire extends Wire { } // other default directories + $sitePath = $rootPath . "/$siteDir/"; $wireDir = "wire"; $coreDir = "$wireDir/core"; $assetsDir = "$siteDir/assets";