install/includes/payload.php
changeset 359 e0787bb6285b
parent 353 2398420f48e7
child 383 1030864dc319
--- a/install/includes/payload.php	Sun Jan 20 22:34:02 2008 -0500
+++ b/install/includes/payload.php	Mon Jan 21 10:09:48 2008 -0500
@@ -141,7 +141,8 @@
       'REAL_NAME'            => '', // This has always been stubbed.
       'ADMIN_EMBED_PHP'      => strval(AUTH_DISALLOW),
       'UNIX_TIME'            => strval(time()),
-      'MAIN_PAGE_CONTENT'    => $wkt
+      'MAIN_PAGE_CONTENT'    => $wkt,
+      'IP_ADDRESS'           => $db->escape($_SERVER['REMOTE_ADDR'])
     );
   
   $sql_parser->assign_vars($vars);