X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=install.php;h=6355cd67adc7f02901ac00d3ed03cc5e1a99ecea;hb=8af86cbf366d58248c6904c13acbf4c0f0ec4fa8;hp=9791eb2cd1de7bbb8a80e99374cba10bce1e3be4;hpb=eee45843b02c763d541a6422d715aca5798fd9cc;p=lhc%2Fweb%2Fwiklou.git diff --git a/install.php b/install.php index 9791eb2cd1..6355cd67ad 100644 --- a/install.php +++ b/install.php @@ -1,15 +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();