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";