Changeset 102 for db/index.php
- Timestamp:
- Sep 30, 2007, 10:22:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
db/index.php
r98 r102 14 14 @mysql_connect( $Config['DB_read']['Database']['Host'], $Config['DB_read']['Database']['User'], $Config['DB_read']['Database']['Password'] ) 15 15 OR DIE("<p>Vyskytla se chyba a nelze se připojit k databázi.<br> Zkuste to později.</p>"); 16 $DB_mangos = mysql_select_db($Config['DB_read']['DB_read']['Database_mangos']);17 if( !$DB_mangos ){ DIE("<p>Nepodařilo se nastavit pracovní databázi ".$Config['DB_read']['DB_read']['Database_mangos']."!</p>"); };16 @mysql_select_db($Config['DB_read']['DB_read']['Database_mangos']) 17 OR DIE("<p>Nepodařilo se nastavit pracovní databázi ".$Config['DB_read']['DB_read']['Database_mangos']."!</p>"); 18 18 /* $DB_realmd = mysql_select_db($Config['DB_read']['DB_read']['Database_realmd']); 19 19 if( !$DB_realmd ){ DIE("<p>Nepodařilo se nastavit pracovní databázi ".$Config['DB_read']['DB_read']['Database_realmd']."!</p>"); }; 20 20 $DB_web = mysql_select_db($Config['DB_read']['DB_read']['Database_web']); 21 21 if( !$DB_web ){ DIE("<p>Nepodařilo se nastavit pracovní databázi ".$Config['DB_read']['DB_read']['Database_web']."!</p>"); }; */ 22 @mysql_query("SET NAMES ".$Config['DB_read']['DB_read']['Charset']);22 @mysql_query("SET CHARACTER SET utf8"); 23 23 24 24 /* =========== Speciální FCE =========== */
Note:
See TracChangeset
for help on using the changeset viewer.