install/includes/payload.php
changeset 359 e0787bb6285b
parent 353 2398420f48e7
child 383 1030864dc319
equal deleted inserted replaced
358:b25d34fbc7ab 359:e0787bb6285b
   139       'ADMIN_PASS'           => $admin_pass,
   139       'ADMIN_PASS'           => $admin_pass,
   140       'ADMIN_EMAIL'          => $db->escape($_POST['email']),
   140       'ADMIN_EMAIL'          => $db->escape($_POST['email']),
   141       'REAL_NAME'            => '', // This has always been stubbed.
   141       'REAL_NAME'            => '', // This has always been stubbed.
   142       'ADMIN_EMBED_PHP'      => strval(AUTH_DISALLOW),
   142       'ADMIN_EMBED_PHP'      => strval(AUTH_DISALLOW),
   143       'UNIX_TIME'            => strval(time()),
   143       'UNIX_TIME'            => strval(time()),
   144       'MAIN_PAGE_CONTENT'    => $wkt
   144       'MAIN_PAGE_CONTENT'    => $wkt,
       
   145       'IP_ADDRESS'           => $db->escape($_SERVER['REMOTE_ADDR'])
   145     );
   146     );
   146   
   147   
   147   $sql_parser->assign_vars($vars);
   148   $sql_parser->assign_vars($vars);
   148   return $sql_parser->parse();
   149   return $sql_parser->parse();
   149 }
   150 }