Ignore:
Timestamp:
05/30/13 10:01:07 (12 years ago)
Author:
tbretz
Message:
Check if 'dir' property exists.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/showlog/index.php

    r15376 r16466  
    312312
    313313$prg = empty($_GET['log']) ? "dimserver" : $_GET['log'];
    314 $dir = $_GET['dir'];
     314$dir = empty($_GET['dir']) ? "" : $_GET['dir'];
    315315
    316316if (!strpos($prg, "/")===false || !strpos($dir, "/")===false)
    317317    return header('HTTP/1.0 403 Access forbidden.');
    318318
    319 if (empty($dir))
     319if (empty($_GET['dir']))
    320320{
    321321    if ($prg=="schedule")
Note: See TracChangeset for help on using the changeset viewer.