|
|
@ -34,7 +34,7 @@ function phpPostCallbak(method, version, args,callback){ |
|
|
|
req_data['func'] = method; |
|
|
|
req_data['func'] = method; |
|
|
|
args['version'] = version; |
|
|
|
args['version'] = version; |
|
|
|
|
|
|
|
|
|
|
|
if (typeof(args) == 'string'){ |
|
|
|
if (typeof(args) == 'string' && args == ''){ |
|
|
|
req_data['args'] = JSON.stringify(toArrayObject(args)); |
|
|
|
req_data['args'] = JSON.stringify(toArrayObject(args)); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
req_data['args'] = JSON.stringify(args); |
|
|
|
req_data['args'] = JSON.stringify(args); |
|
|
@ -582,9 +582,13 @@ function getPHPInfo(version) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function phpLibConfig(version){ |
|
|
|
function phpLibConfig(version){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// phpPost('get_lib_conf', version, {}, function(rdata){
|
|
|
|
|
|
|
|
// var rdata = $.parseJSON(rdata.data);
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
phpPost('get_lib_conf', version, '', function(data){ |
|
|
|
phpPostCallbak('get_lib_conf', version, {}, function(rdata){ |
|
|
|
var rdata = $.parseJSON(data.data); |
|
|
|
var rdata = rdata.data; |
|
|
|
|
|
|
|
|
|
|
|
if (!rdata.status){ |
|
|
|
if (!rdata.status){ |
|
|
|
layer.msg(rdata.msg, { icon: rdata.status ? 1 : 2 }); |
|
|
|
layer.msg(rdata.msg, { icon: rdata.status ? 1 : 2 }); |
|
|
|