diff --git a/html/config/calibrate.php b/html/config/calibrate.php
index 2e361e7..5aff3e1 100644
--- a/html/config/calibrate.php
+++ b/html/config/calibrate.php
@@ -14,10 +14,11 @@ ob_implicit_flush(1);//将打开或关闭绝对(隐式)刷送。绝对(隐
echo "application beging
";
//$cmd = 'ping 127.0.0.1';
$ini=parse_ini_file("/home/data/Setting/DeviceSettings.ini",true);
+var_dump($ini);
$numberofsensor=intval($ini['DEVICE INFO']['TotalSpectrometer']);
$numberofFS=0;
for($i=0;$i<$numberofsensor;$i++){
- $tempsens=$ini['FS'.$i+1]['Model'];
+ $tempsens=$ini['FS'.($i+1)]['Model'];
if ($sensorType=$tempsens)
{
$numberofFS=$i+1;
@@ -72,7 +73,7 @@ else
}
-
+echo $cmd;
while(@ ob_end_flush());
@@ -83,7 +84,7 @@ while(!feof($proc)){
echo fread($proc, 4096);
@ flush();
}
-echo 'FINISH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!';
+echo 'FINISH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ';
echo '回到首页';
function getonestring(&$bytes,$fenge)
diff --git a/html/config/location.php b/html/config/location.php
index cd27edd..753c723 100644
--- a/html/config/location.php
+++ b/html/config/location.php
@@ -28,7 +28,7 @@ while(!feof($proc)){
}
-echo '