aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-11-12 13:49:13 +0000
committerpatdenice <patdenice@piwigo.org>2008-11-12 13:49:13 +0000
commit9fc076f5d33454a0bfefd9030553f09089c5626a (patch)
tree8735dd568f13a96a7cb086f70961a9fe629808c6 /upgrade.php
parentcd9f45fd1dd2ebc2e6795c15a3f3eddb38e95e7d (diff)
- Remove advises of file removal at the end of install (forgotten in last commit!)
git-svn-id: http://piwigo.org/svn/trunk@2865 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--upgrade.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade.php b/upgrade.php
index 1255f0623..073030592 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -253,14 +253,14 @@ if (isset($_POST['submit']) and check_upgrade())
{
$config_file_contents =
substr($config_file_contents, 0, $php_end_tag) . "\r\n"
- . implode("\r\n\r\n" , $mysql_changes) . "\r\n"
+ . implode("\r\n" , $mysql_changes) . "\r\n"
. substr($config_file_contents, $php_end_tag);
if (!@file_put_contents($config_file, $config_file_contents))
{
array_push($page['infos'],
l10n('in include/mysql.inc.php, before ?>, insert:') . '
-<p><textarea rows="5" cols="40">'.implode("\r\n\r\n" , $mysql_changes).'</textarea></p>'
+<p><textarea rows="4" cols="40">'.implode("\r\n" , $mysql_changes).'</textarea></p>'
);
}
}