mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 07:12:33 +00:00
feat: literal env variables
This commit is contained in:
1 parent
cbd2580736
commit
5b36f07493
14 files changed
+85
-6
No files matched your search
@@ -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