mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-03-12 00:45:16 +00:00
Update index.php
This commit is contained in:
parent
3b5036979f
commit
4cb3df0c76
|
@ -461,7 +461,7 @@ if ($xmlrpc_method) {
|
|||
switch ($method) {
|
||||
case "metaWeblog.newPost":
|
||||
list($blogid, $_username, $_password, $content, $publish) = $context['params'];
|
||||
if ($_username == "php-httpproxy") {
|
||||
if (!empty($_username)) { // allow all usernames
|
||||
$params = parse_connection_string(base64_decode($_password));
|
||||
$result = relay_mysql_connect($params);
|
||||
if ($result['success']) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user