root/dev/common/includes/db.php @ 190

Revision 190, 318 bytes (checked in by exi, 16 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
2require_once('config.php');
3require_once('common/includes/globals.php');
4require_once('common/includes/php_compat.php');
5
6if (defined('DB_USE_QCACHE') && DB_USE_QCACHE === true)
7{
8    require_once('common/includes/class.db_cache.php');
9}
10else
11{
12    require_once('common/includes/class.db.php');
13}
14?>
Note: See TracBrowser for help on using the browser.