diff --git a/src/Util/Common.php b/src/Util/Common.php
index 1e185788cf..1ce6d97ef2 100644
--- a/src/Util/Common.php
+++ b/src/Util/Common.php
@@ -114,7 +114,7 @@ abstract class Common
if (!$transient) {
$diff = self::arrayDiffRecursive(self::$config, self::$defaults);
$yaml = (new Yaml\Dumper(indentation: 2))->dump(['parameters' => ['locals' => ['gnusocial' => $diff]]], Yaml\Yaml::DUMP_OBJECT_AS_MAP);
- rename(INSTALLDIR . '/social.local.yaml', INSTALLDIR . '/social.local.yaml.back');
+ rename(INSTALLDIR . '/social.local.yaml', INSTALLDIR . '/social.local.yaml.orig');
file_put_contents(INSTALLDIR . '/social.local.yaml', $yaml);
}
}
diff --git a/templates/config/admin.html.twig b/templates/config/admin.html.twig
index 7c9d76e1d4..54fc6c14e5 100644
--- a/templates/config/admin.html.twig
+++ b/templates/config/admin.html.twig
@@ -21,7 +21,7 @@
Old value: {{ old_value }}
Default value: {{ default }}
Configuration dumped to social.local.yaml
- Backup of previous configuration in social.local.yaml.back
will be overridden with the next change
+ Backup of previous configuration in social.local.yaml.orig
will be overridden with the next change
{% endif %}