Changeset 29 for branches/3/global.php


Ignore:
Timestamp:
Oct 14, 2008, 6:18:40 PM (16 years ago)
Author:
maron
Message:

Odhlášení, frontend.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3/global.php

    r28 r29  
    11<?php
    22session_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');
    116
    127//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);
    1712
    1813  include('events.php');
    19   include('functions.php');
     14  include('frontend.php');
    2015 
    2116
Note: See TracChangeset for help on using the changeset viewer.