Changeset 175 for trunk/export/index.php


Ignore:
Timestamp:
Apr 10, 2009, 1:18:21 PM (16 years ago)
Author:
maron
Message:

Nastavení importu aowow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/export/index.php

    r174 r175  
    106106            break;
    107107          case 'AoWoWSQL':
     108                require_once('../aowow/configs/config.php');
    108109        echo('Gewneruji SQL kód ');
    109110        $AoWoWSQL = ExportToMangosSQL($ExportSetting);
     
    111112       
    112113        echo('Importuji do AoWoW ');
    113                 $Database->SelectDatabase('AoWOW');    //wowpreklad_mangos
     114                $Database->SelectDatabase($AoWoWconf['mangos']['db']);   
    114115                $Database->SQLCommand('SET NAMES '.$Config['Database']['Charset']);
    115116          $BufferArray = explode(";\n", $AoWoWSQL);
Note: See TracChangeset for help on using the changeset viewer.