Ignore:
Timestamp:
Jan 17, 2008, 8:07:31 PM (17 years ago)
Author:
george
Message:

Oprava: Přistup k databázi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/sunrisechat/sunrisechat2.php

    r9 r24  
    88function Packet($Text2)
    99{
    10   global $Debug, $Database;
     10  global $Debug, $Database, $Config;
     11
    1112  //echo("{".$Text2."}".ord($Text2[1]).".".strlen($Text2)."\n");
    1213  //echo($Text2.strlen($Text2)."\n");
     
    2223  if($Command == 'Message')
    2324  {
    24     DB_Query('SET NAMES latin2');
     25    $Database->charset($Config['Database']['Charset']);
    2526    $Color = $Parts[7];
    2627    $Text = $Parts[8];
Note: See TracChangeset for help on using the changeset viewer.