Changeset 729 for trunk/Common/Page.php


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/Page.php

    r635 r729  
    5050  function ShowHeader($Title, $Path)
    5151  {
    52     $ScriptName = $_SERVER['REQUEST_URI'];
     52        if(array_key_exists('REQUEST_URI', $_SERVER))
     53      $ScriptName = $_SERVER['REQUEST_URI'];
     54          else $ScriptName = '';
    5355    while(strpos($ScriptName, '//') !== false)
    5456      $ScriptName = str_replace('//', '/', $ScriptName);
Note: See TracChangeset for help on using the changeset viewer.