IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2023, 12:00:36 PM (3 years ago)
Author:
eugene
Message:

merge from eam_branches/ipp-20220316. add PDO DB access method (DBI now deprecated); modern PHP is more strict about array index names (must be quoted); more flexible locations for CZARPLOTDIR, METRICSPLOTDIR for test installations; add fpcamera

Location:
trunk/ippMonitor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor

  • trunk/ippMonitor/raw/showimage.php

    r27054 r42384  
    1111// load an image file from the image directory
    1212// validate request
    13 if ($_SERVER[REQUEST_METHOD] != 'GET') {
     13if ($_SERVER['REQUEST_METHOD'] != 'GET') {
    1414  exit ();
    1515}
     
    2020
    2121# $basename may contain filename@filerule
    22 $basename = $_GET[name];
    23 $filerule = $_GET[rule];
    24 $camera   = $_GET[camera];
    25 $class_id = $_GET[class_id];
     22$basename = $_GET['name'];
     23$filerule = $_GET['rule'];
     24$camera   = $_GET['camera'];
     25$class_id = $_GET['class_id'];
    2626
    2727$title = $basename;
Note: See TracChangeset for help on using the changeset viewer.