mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 18:24:57 +02:00
Attempt fix for issue processwire/processwire-issues#206 fix for multi-site config not working
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user