mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
MVC, config: fix previous
This commit is contained in:
parent
fc60d04cd6
commit
535c85101a
@ -566,7 +566,7 @@ class Config extends Singleton
|
||||
*/
|
||||
public function getBackupFilename($revision)
|
||||
{
|
||||
$tmp = preg_replace("/[^0-9.]/", $revision);
|
||||
$tmp = preg_replace("/[^0-9.]/", "", $revision);
|
||||
$bckfilename = dirname($this->config_file) . "/backup/config-{$tmp}.xml";
|
||||
if (is_file($bckfilename)) {
|
||||
return $bckfilename;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user