mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Correctly return the updated key
This commit is contained in:
@@ -195,7 +195,7 @@ class EggConfigurationService
|
|||||||
// that. For example, the Spigot egg uses "config.docker.interface" to identify the Docker
|
// that. For example, the Spigot egg uses "config.docker.interface" to identify the Docker
|
||||||
// interface to proxy through, but the Panel would be unaware of that.
|
// interface to proxy through, but the Panel would be unaware of that.
|
||||||
if (Str::startsWith($key, 'config.')) {
|
if (Str::startsWith($key, 'config.')) {
|
||||||
return "{{{$key}}}";
|
return preg_replace('/{{(.*)}}/', "{{{$key}}}", $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Replace anything starting with "server." with the value out of the server configuration
|
// Replace anything starting with "server." with the value out of the server configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user