Changeset 29 for branches/3/global.php
- Timestamp:
- Oct 14, 2008, 6:18:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3/global.php
r28 r29 1 1 <?php 2 2 session_start(); 3 include('config.php'); 4 include('language_cz.php'); 5 //include('class/database.php'); 6 7 //naètení objektù 8 function __autoload($class_name) { 9 require_once 'class/'.$class_name . '.php'; 10 } 3 include('config.php'); 4 include('functions.php'); 5 include('language_cz.php'); 11 6 12 7 //include('error.php'); 13 $database = new database($Config['Database']['Host'], $Config['Database']['User'], $Config['Database']['Password'], $Config['Database']['Database']);14 $database->Prefix = $Config['Database']['Prefix'];15 $database->charset($Config['Database']['Charset']);16 $user = new user($database);8 $database = new database($Config['Database']['Host'], $Config['Database']['User'], $Config['Database']['Password'], $Config['Database']['Database']); 9 $database->Prefix = $Config['Database']['Prefix']; 10 $database->charset($Config['Database']['Charset']); 11 $user = new user($database); 17 12 18 13 include('events.php'); 19 include('f unctions.php');14 include('frontend.php'); 20 15 21 16
Note:
See TracChangeset
for help on using the changeset viewer.