Changeset 6 for trunk/class/Database.php


Ignore:
Timestamp:
Jun 13, 2012, 10:16:46 PM (12 years ago)
Author:
maron
Message:

třídy odkazů, stránek

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/class/Database.php

    r5 r6  
    1515  var $ShowSQLError = false;
    1616
    17   function __construct($Config)
     17  function __construct()
    1818  {
    19     include_once('Config.php');
    20     $this->Config = $Config;
     19    $this->Config = new Config();
    2120    $this->Database->HostName = $this->Config->Database['Host'];
    2221    $this->Database->UserName = $this->Config->Database['User'];
Note: See TracChangeset for help on using the changeset viewer.