X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=install.php;h=552c6036f84a22a3902807d5dad9670b28974616;hb=411e801d703a047b754a686908adbadc97124248;hp=3ebccd51d7978adfef489b0485cd6922ccddec6d;hpb=8609ef44c788cc41470570227e91e5cd3384f230;p=lhc%2Fweb%2Fwiklou.git diff --git a/install.php b/install.php index 3ebccd51d7..552c6036f8 100644 --- a/install.php +++ b/install.php @@ -1,26 +1,11 @@ getDBkey(); - $sql = "INSERT INTO cur (cur_namespace,cur_title,cur_text) " . + $sql = "INSERT INTO cur (cur_namespace,cur_title,cur_text,cur_timestamp,inverse_timestamp,cur_touched) " . "VALUES (0,'$title','" . - wfStrencode( wfMsgNoDB( "mainpagetext" ) ) . "')"; + wfStrencode( wfMsg( "mainpagetext" ) ) . "','$now','$won','$now')"; wfQuery( $sql, DB_WRITE, $fname ); initialiseMessages();