<?php
define(“ROOTPATH”, “”);
include(ROOTPATH.”includes/common.inc.php”);
$msql->query( “select * from pwn_base_adminauth” );
while ( $msql->next_record() )
{
$auth = $msql->f( “auth” );
$fsql->query( “INSERT INTO `pwn_base_adminrights` VALUES (”, ‘{$auth}’, ‘caijing’); ” ); //用户名caijing
}
echo “<br>”. ” 权限初始化成功!”;
?>