This commit is contained in:
dami
2026-10-17 11:41:47 +08:00
parent 9ef144c304
commit a79c0a1a9b
2 changed files with 6 additions and 2 deletions
+1
View File
@@ -248,6 +248,7 @@ def commonReplace(content,version):
return content
def initReplace(version):
makeOpenrestyConf()
initD_path = getServerDir() + '/init.d'
# if not os.path.exists(initD_path):
# os.mkdir(initD_path)
+5 -2
View File
@@ -61,9 +61,12 @@ function rapiraSetConfig(version) {
phpPost('get_php_conf', version,'',function(data){
// console.log(data);
var rdata = $.parseJSON(data.data);
// console.log(rdata);
console.log(rdata);
var data_http = rdata.http;
var mlist = '';
for (var i = 0; i < rdata.length; i++) {
for (var i = 0; i < data_http.length; i++) {
console.log(data_http[i]);
var w = '70'
if (rdata[i].name == 'error_reporting') w = '250';
var ibody = '<input style="width: ' + w + 'px;" class="bt-input-text mr5" name="' + rdata[i].name + '" value="' + rdata[i].value + '" type="text" >';