File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dist-persist/wbstack/src/Settings
dist/wbstack/src/Settings Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2424require_once __DIR__ . '/Localization.php ' ;
2525
2626// Define some conditions to switch behaviour on
27- $ wwDomainSaysLocal = preg_match ("/( \w\.wbaas\.dev)/ " , $ _SERVER ['SERVER_NAME ' ]) === 1 ;
27+ $ wwDomainSaysLocal = preg_match ("/\w\.(localhost| wbaas\.dev)/ " , $ _SERVER ['SERVER_NAME ' ]) === 1 ;
2828$ wwDomainIsMaintenance = $ wikiInfo ->requestDomain === 'maintenance ' ;
2929$ wwIsPhpUnit = isset ( $ maintClass ) && $ maintClass === 'PHPUnitMaintClass ' ;
3030$ wwIsLocalisationRebuild = basename ( $ _SERVER ['SCRIPT_NAME ' ] ) === 'rebuildLocalisationCache.php ' ;
Original file line number Diff line number Diff line change 2424require_once __DIR__ . '/Localization.php ' ;
2525
2626// Define some conditions to switch behaviour on
27- $ wwDomainSaysLocal = preg_match ("/( \w\.wbaas\.dev)/ " , $ _SERVER ['SERVER_NAME ' ]) === 1 ;
27+ $ wwDomainSaysLocal = preg_match ("/\w\.(localhost| wbaas\.dev)/ " , $ _SERVER ['SERVER_NAME ' ]) === 1 ;
2828$ wwDomainIsMaintenance = $ wikiInfo ->requestDomain === 'maintenance ' ;
2929$ wwIsPhpUnit = isset ( $ maintClass ) && $ maintClass === 'PHPUnitMaintClass ' ;
3030$ wwIsLocalisationRebuild = basename ( $ _SERVER ['SCRIPT_NAME ' ] ) === 'rebuildLocalisationCache.php ' ;
You can’t perform that action at this time.
0 commit comments