mirror of
https://github.com/getgrav/grav.git
synced 2026-03-02 10:31:41 +01:00
Fixed enviroment name mapping for localhost (#2924)
Co-authored-by: Dominik Scholz-Schulze <dominik.scholz-schulze@iserv.eu>
This commit is contained in:
committed by
GitHub
parent
351c270e0e
commit
1903d44bf8
@@ -168,7 +168,7 @@ class Setup extends Data
|
||||
}
|
||||
|
||||
// Resolve server aliases to the proper environment.
|
||||
$environment = $this->environments[static::$environment] ?? static::$environment;
|
||||
$environment = static::$environments[static::$environment] ?? static::$environment;
|
||||
|
||||
// Pre-load setup.php which contains our initial configuration.
|
||||
// Configuration may contain dynamic parts, which is why we need to always load it.
|
||||
|
||||
Reference in New Issue
Block a user