Changeset 120 for trunk/import
- Timestamp:
- Feb 21, 2009, 7:38:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/import/index.php
r118 r120 3 3 include('../includes/global.php'); 4 4 include('../includes/dbc.php'); 5 6 $PatchVersion = '3.0.3';7 5 8 6 function ImportSQLMangos() … … 67 65 function ImportDBC() 68 66 { 69 global $Database, $TranslationTree, $ PatchVersion;67 global $Database, $TranslationTree, $Config; 70 68 71 69 echo('Načítání textů z DBC souborů...'); … … 76 74 echo('<br />'.$Group['Name'].'<br />'); 77 75 $DBCFile = new DBCFile(); 78 $DBCFile->OpenFile('../source/'.$ PatchVersion.'/dbc/'.$Group['DBCFileName'].'.dbc', $Group['DBCColumns']);76 $DBCFile->OpenFile('../source/'.$Config['Web']['GameVersion'].'/dbc/'.$Group['DBCFileName'].'.dbc', $Group['DBCColumns']); 79 77 $ItemCount = $DBCFile->GetRecordCount(); 80 78 $NewCount = 0; … … 123 121 function ImportLUA() 124 122 { 125 global $Database, $TranslationTree, $PatchVersion ;123 global $Database, $TranslationTree, $PatchVersion, $Config; 126 124 127 125 echo('Načítání textů z LUA souborů...'); … … 132 130 echo('<br />'.$Group['Name'].'<br />'); 133 131 $File = new FileStream(); 134 $File->OpenFile('../source/'.$ PatchVersion.'/lua/'.$Group['LuaFileName'].'.lua');132 $File->OpenFile('../source/'.$Config['Web']['GameVersion'].'/lua/'.$Group['LuaFileName'].'.lua'); 135 133 $NewCount = 0; 136 134 $Count = 0;
Note:
See TracChangeset
for help on using the changeset viewer.