求帮忙修改
发表在PHP答疑区
2018-08-16 悬赏:6 学分
是否精华
是
否
版块置顶:
是
否
<?php
return array(
'DB_CONFIG2' => 'mysql://root:123456@localhost:3306/123#utf8',
);
$see = M('eredomain','','DB_CONFIG2')->where(array('domain'=>"".$_SERVER['HTTP_HOST']."",))->find();
$ecddd = M('erection','','DB_CONFIG2')->where(array('id'=>"".$see['ereid']."",))->find();
return array(
'DB_TYPE'=>'mysql',
'DB_HOST'=>'localhost',
'DB_NAME'=>'5b52dbea7704535',
'DB_USER'=>'root',
'DB_PWD'=>'123456',
'DB_PORT'=>'3306',
'key'=> "".$ecddd['key']."",
'janes'=>'381',
'adminuser'=>'11',
'adminpass'=>'11',
);
?>
return array(
'DB_CONFIG2' => 'mysql://root:123456@localhost:3306/123#utf8',
);
$see = M('eredomain','','DB_CONFIG2')->where(array('domain'=>"".$_SERVER['HTTP_HOST']."",))->find();
$ecddd = M('erection','','DB_CONFIG2')->where(array('id'=>"".$see['ereid']."",))->find();
return array(
'DB_TYPE'=>'mysql',
'DB_HOST'=>'localhost',
'DB_NAME'=>'5b52dbea7704535',
'DB_USER'=>'root',
'DB_PWD'=>'123456',
'DB_PORT'=>'3306',
'key'=> "".$ecddd['key']."",
'janes'=>'381',
'adminuser'=>'11',
'adminpass'=>'11',
);
?>
显示系统错误,不知道哪写错了,求帮忙修改