Commit abc195c1 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

copying is not instant

parent 1ade7a78
...@@ -234,7 +234,7 @@ if ($cmd=="do_nothing"){ ...@@ -234,7 +234,7 @@ if ($cmd=="do_nothing"){
if (!is_file($tmp_config)) { if (!is_file($tmp_config)) {
if (is_file($config)) { if (is_file($config)) {
copy($config,$tmp_config); copy($config,$tmp_config);
$json_data = file_get_contents($tmp_config); $json_data = file_get_contents($config);
echo $json_data; echo $json_data;
}else{ }else{
$arr = get_control($file); $arr = get_control($file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment