Changeset 175
- Timestamp:
- Apr 10, 2009, 1:18:21 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aowow/configs/config.sample.php
r172 r175 1 1 <?php 2 include('../includes/config.php');2 require_once('../includes/config.php'); 3 3 global $AoWoWconf; 4 4 … … 13 13 $AoWoWconf['realmd']['user'] = $Config['Database']['User']; 14 14 $AoWoWconf['realmd']['pass'] = $Config['Database']['Password']; 15 $AoWoWconf['realmd']['db'] = ' realmd';15 $AoWoWconf['realmd']['db'] = 'wowpreklad_realmd'; 16 16 // Site Configuration 17 17 $AoWoWconf['aowow']['name'] = 'AoWoW'; 18 $AoWoWconf['aowow']['template'] = 'wow preklad_wowhead';18 $AoWoWconf['aowow']['template'] = 'wowhead'; 19 19 $AoWoWconf['aowow']['cache_time'] = (60*60*24*7); // Time to keep cache in seconds (Default: 1 week) 20 20 $AoWoWconf['locale'] = 1; -
trunk/export/index.php
r174 r175 106 106 break; 107 107 case 'AoWoWSQL': 108 require_once('../aowow/configs/config.php'); 108 109 echo('Gewneruji SQL kód '); 109 110 $AoWoWSQL = ExportToMangosSQL($ExportSetting); … … 111 112 112 113 echo('Importuji do AoWoW '); 113 $Database->SelectDatabase( 'AoWOW'); //wowpreklad_mangos114 $Database->SelectDatabase($AoWoWconf['mangos']['db']); 114 115 $Database->SQLCommand('SET NAMES '.$Config['Database']['Charset']); 115 116 $BufferArray = explode(";\n", $AoWoWSQL);
Note:
See TracChangeset
for help on using the changeset viewer.