Changeset 44 for trunk/index.php


Ignore:
Timestamp:
Nov 24, 2009, 5:19:21 PM (14 years ago)
Author:
george
Message:
  • Přidáno: Třída pro provádění odměrů na straně klienta.
  • Přidáno: Podpora pro spouštění s parametry přes příkazový řádek.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r42 r44  
    44$BaseDir = substr($_SERVER['SCRIPT_FILENAME'], 0, strrpos($_SERVER['SCRIPT_FILENAME'], '/'));
    55if($BaseDir != '') chdir($BaseDir);
     6
     7include_once(dirname(__FILE__).'/Base/HTTP.php');
     8
     9// Is executed from command line?
     10if(!isset($_SERVER['REMOTE_ADDR']))
     11{
     12  $HTTP = new HTTP();
     13  $_GET = $HTTP->GetQueryStringArray($_SERVER['argv'][1]);
     14}
     15print_r($_SERVER);
     16print_r($_GET);
    617
    718include_once(dirname(__FILE__).'/Application/Application.php');
Note: See TracChangeset for help on using the changeset viewer.