Ignore:
Timestamp:
Jan 12, 2015, 12:20:30 AM (10 years ago)
Author:
chronos
Message:
  • Added: Generic Scheduler module for running tasks on specified time and with specified period.
  • Added: System execution from command line using cmd.php entry point.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Global.php

    r727 r729  
    443443  if(substr($PathString, -1, 1) == '/') $PathString = substr($PathString, 0, -1);
    444444  $PathItems = explode('/', $PathString);
    445   if(strpos($_SERVER['REQUEST_URI'], '?') !== false)
     445  if(array_key_exists('REQUEST_URI', $_SERVER) and (strpos($_SERVER['REQUEST_URI'], '?') !== false))
    446446    $_SERVER['QUERY_STRING'] = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], '?') + 1);
    447447    else $_SERVER['QUERY_STRING'] = '';
Note: See TracChangeset for help on using the changeset viewer.