Explorar el Código

Update sys_info.php

tags/6.1.7
tianya hace 3 años
padre
commit
f5f10d4e59
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/admin/sys_info.php

+ 1
- 1
src/admin/sys_info.php Ver fichero

@@ -33,7 +33,7 @@ function ReWriteConfig()
fwrite($fp, "\${$row['varname']} = ".$row['value'].";\r\n");
} else {
$row['value'] = stripslashes($row['value']);
fwrite($fp, "\${$row['varname']} = '".str_replace("'", '', $row['value'])."';\r\n");
fwrite($fp, "\${$row['varname']} = '".str_replace(array("'","\\"), '', $row['value'])."';\r\n");
}
}
fwrite($fp, "?".">");


Cargando…
Cancelar
Guardar