summaryrefslogtreecommitdiff
path: root/bin/update.sh
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-07-17 21:38:00 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-07-17 21:38:00 +0200
commitfd6b193c6e072339b5012945aae8b6aa2c0f95b7 (patch)
tree8e330cf794c441a40aaf45ed8705fc44850c11af /bin/update.sh
parentd7628787523e9a6967f07c809859a396103b801a (diff)
Fix codestyle and indentation; use new save function in update script
Diffstat (limited to 'bin/update.sh')
-rwxr-xr-xbin/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update.sh b/bin/update.sh
index 71e2c630a..8bfb9d603 100755
--- a/bin/update.sh
+++ b/bin/update.sh
@@ -101,7 +101,7 @@ if ($RCI->configured) {
if (!$error) {
$RCI->merge_config();
echo ". writing " . RCMAIL_CONFIG_DIR . "/config.inc.php...\n";
- $written = file_put_contents(RCMAIL_CONFIG_DIR . '/config.inc.php', $RCI->create_config());
+ $written = $RCI->save_configfile($RCI->create_config());
}
// Success!