Commit 4ebcb359 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+channels

parent da7bb8cf
...@@ -85,6 +85,8 @@ ...@@ -85,6 +85,8 @@
// use http://www.exiv2.org/tags.html for reference of the Exif fields if you need to add modify // use http://www.exiv2.org/tags.html for reference of the Exif fields if you need to add modify
// the data below // the data below
$chn = 0;
$ExifDeviceTemplateFilename="/dev/exif_template"; $ExifDeviceTemplateFilename="/dev/exif_template";
$ExifDeviceMetadirFilename= "/dev/exif_metadir"; $ExifDeviceMetadirFilename= "/dev/exif_metadir";
$ExifDeviceExifFilename= "/dev/exif_exif"; $ExifDeviceExifFilename= "/dev/exif_exif";
...@@ -107,6 +109,9 @@ if ($_SERVER['REQUEST_METHOD']=="GET") { ...@@ -107,6 +109,9 @@ if ($_SERVER['REQUEST_METHOD']=="GET") {
$noGPS= ($_GET["noGPS"]!==NULL); $noGPS= ($_GET["noGPS"]!==NULL);
$nocompass= ($_GET["nocompass"]!==NULL); $nocompass= ($_GET["nocompass"]!==NULL);
} }
if (isset($_GET['chn'])) $chn = $_GET['chn'];
$ExifDeviceExifFilename .= $chn;
$ExifDeviceMetaFilename .= $chn;
} else { } else {
foreach ($_SERVER['argv'] as $param) if (substr($param,0,4)=="init") { foreach ($_SERVER['argv'] as $param) if (substr($param,0,4)=="init") {
$param=substr($param,5); $param=substr($param,5);
......
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