Skip to content

Commit

Permalink
Change: add version info for new release 1.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
auge8472 committed Feb 5, 2017
1 parent 834e4d7 commit 1a9ba4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
$settings['mail_parameter'] = "";
$settings['forum_disabled'] = 0;
$settings['session_prefix'] = "mlf_";
$settings['version'] = '1.7.4';
$settings['version'] = '1.7.7';
$settings['captcha_posting'] = 0;
$settings['captcha_contact'] = 0;
$settings['captcha_register'] = 0;
Expand Down Expand Up @@ -274,7 +274,7 @@ function update16to17()
@mysql_query("INSERT INTO ".$db_settings['settings_table']." (name, value) VALUES ('captcha_contact','".$settings['captcha_contact']."')", $connid) or $errors[] = $lang_add['insert_settings_error']." (MySQL: ".mysql_error($connid).")";
@mysql_query("INSERT INTO ".$db_settings['settings_table']." (name, value) VALUES ('captcha_register','".$settings['captcha_register']."')", $connid) or $errors[] = $lang_add['insert_settings_error']." (MySQL: ".mysql_error($connid).")";
@mysql_query("INSERT INTO ".$db_settings['settings_table']." (name, value) VALUES ('captcha_type','".$settings['captcha_type']."')", $connid) or $errors[] = $lang_add['insert_settings_error']." (MySQL: ".mysql_error($connid).")";
@mysql_query("UPDATE ".$db_settings['settings_table']." SET value='1.7' WHERE name = 'version'", $connid) or $errors[] = $lang_add['update_error']. " (MySQL: ".mysql_error($connid).")";
@mysql_query("UPDATE ".$db_settings['settings_table']." SET value='1.7.7' WHERE name = 'version'", $connid) or $errors[] = $lang_add['update_error']. " (MySQL: ".mysql_error($connid).")";
if(isset($errors)) return $errors; else return false;
}

Expand Down

0 comments on commit 1a9ba4f

Please sign in to comment.