mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fix preg_replace(): No ending delimiter '/' found on line 904
This commit is contained in:
parent
cbefc25934
commit
837fe39a0c
@ -899,7 +899,7 @@ function update_api_setup($path)
|
||||
throw new Exception("Could not read file '$path' to update maintenance-version!");
|
||||
}
|
||||
|
||||
$content = preg_replace('/'.preg_quote("\$setup_info['api']['versions']['maintenance_release']", '/').'[^;]+;',
|
||||
$content = preg_replace('/'.preg_quote("\$setup_info['api']['versions']['maintenance_release']", '/').'[^;]+;/',
|
||||
"\$setup_info['api']['versions']['maintenance_release'] = '".$config['version'].'.'.$config['packaging']."';",
|
||||
$content);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user