Changeset 190 for dev/index.php

Show
Ignore:
Timestamp:
03/16/07 17:12:55 (14 years ago)
Author:
exi
Message:

This is a big update...
Moved all admin scripts to common/admin.
Moved all includes and classes to common/includes.
Edited all include-paths to reflect the movement.
Fixed a bug with the session system allowing every registered user to access admin pages.
Replaced calls to date() to use a wrapper so gmdate can be used.
Replaced some calls to $config with calls to the static object.
Fixed a big which caused the portrait_grab to not download a new picute.
Added a classified-state to kills.
Removed the sync_server server script in this tree.
Added code to help modules find the includes to index.php.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/index.php

    r181 r190  
    11<?php 
     2 
     3/* 
     4* Request forwarder, look at common/index.php for the action and license 
     5*/ 
     6 
    27@error_reporting(E_ALL ^ E_NOTICE); 
     8if (PHP_OS != 'Linux') 
     9{ 
     10    @ini_set('include_path', ini_get('include_path').';.\\common\\includes'); 
     11} 
     12else 
     13{ 
     14    @ini_set('include_path', ini_get('include_path').':./common/includes'); 
     15} 
    316include('common/index.php'); 
    417?>