Changeset 630 for trunk/index.php
- Timestamp:
- Aug 26, 2009, 3:07:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r628 r630 5 5 foreach($_GET as $Index => $Item) $_GET[$Index] = addslashes($Item); 6 6 7 include_once('inc/config.php'); 7 if(file_exists('inc/config.php')) include_once('inc/config.php'); 8 else die('Nenalezen soubor inc/config.php. Vytvořte jej z předlohy config.sample.php.'); 8 9 9 10 if(array_key_exists('RealmIndex', $_POST)) … … 28 29 session_start(); 29 30 include_once('inc/error.php'); 30 include_once('inc/db.php'); 31 include_once('inc/database.php'); 32 include_once('inc/module.php'); 31 33 include_once('inc/html.php'); 34 include_once('inc/system.php'); 32 35 include_once('inc/player.php'); 33 36 include_once('inc/server.php'); 37 include_once('inc/realm.php'); 34 38 35 39 // classes start 40 $System = new System($Config); 41 $db = $System->Database; 36 42 $player = new Player($db); 37 $server = new Server($ db);43 $server = new Server($System, 1); 38 44 $html = new Html(0, $db); 39 45 $html->Start();
Note:
See TracChangeset
for help on using the changeset viewer.