mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
feat: literal env variables
This commit is contained in:
@@ -586,3 +586,9 @@ function escapeEnvVariables($value)
|
||||
$replace = array("\\\\", "\\r", "\\t", "\\0", '\"', "\'");
|
||||
return str_replace($search, $replace, $value);
|
||||
}
|
||||
function escapeDollarSign($value)
|
||||
{
|
||||
$search = array('$');
|
||||
$replace = array('$$');
|
||||
return str_replace($search, $replace, $value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user