mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 19:49:42 +08:00
config
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
file_put_contents("config.json",json_encode($_POST));
|
||||
var_dump($_POST);
|
||||
exec("sudo touch /home/data/Setting/config.json");
|
||||
exec("sudo chmod 777 /home/data/Setting/config.json");
|
||||
file_put_contents("/home/data/Setting/config.json",json_encode($_POST));
|
||||
echo "提交成功";
|
Reference in New Issue
Block a user