Commit 8e85fc32 authored by mpomery's avatar mpomery
Browse files

camera.php works now

Needs to have right owner on the server
parent e56339ce
$camera = ($_GET['camera']?$_GET['camera']:'nocamera');
$camera = 'nocamera';
if (isset($_GET['camera']))
$file = $imagelocation.strtolower($camera).".jpg";
header("Expires: ".gmdate("D, d M Y H:i:s", time())." GMT");
if (!is_readable($file)) {
if (!is_readable($file))
header("Content-Type: image/jpeg");
header("Content-Length: ".filesize($file));
header("Last-Modified: ".gmdate("D, d M Y H:i:s", filectime($file))." GMT");
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