Revision 190, 362 bytes
(checked in by exi, 14 years ago)
|
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.
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | /* |
---|
4 | * Request forwarder, look at common/index.php for the action and license |
---|
5 | */ |
---|
6 | |
---|
7 | @error_reporting(E_ALL ^ E_NOTICE); |
---|
8 | if (PHP_OS != 'Linux') |
---|
9 | { |
---|
10 | @ini_set('include_path', ini_get('include_path').';.\\common\\includes'); |
---|
11 | } |
---|
12 | else |
---|
13 | { |
---|
14 | @ini_set('include_path', ini_get('include_path').':./common/includes'); |
---|
15 | } |
---|
16 | include('common/index.php'); |
---|
17 | ?> |
---|