Changeset 375 for trunk/export
- Timestamp:
- Mar 10, 2010, 5:48:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export.php
r374 r375 229 229 function ExportToDBC() 230 230 { 231 global $TranslationTree, $LanguageList ;231 global $TranslationTree, $LanguageList,$Config; 232 232 233 233 $this->LoadFilters(); … … 248 248 $querty = '"SELECT '.$columns.' T.Entry as entry FROM (SELECT * FROM '.$Group['TablePrefix'].' WHERE (Complete = 1) AND '.$this->WhereLang.' AND '.$this->WhereUsers.' AND VersionStart <= '.$this->ClientVersion['BuildNumber'].' AND VersionEnd >= '.$this->ClientVersion['BuildNumber'].') AS T GROUP BY T.Entry"'; 249 249 250 $params = ' -f ../source/'.$this->ClientVersion['Version'].'/dbc/'.$Group['DBCFileName'].'.dbc -n '.$this->TempDir.'dbc/'.$Group['DBCFileName'].'.dbc -c '.GetDBCColumns($this->ClientVersion['Version'], $Group['DBCFileName']).' -q '.$querty;250 $params = '-u '.$Config['Database']['User'].' -p '.$Config['Database']['Password'].' -f ../source/'.$this->ClientVersion['Version'].'/dbc/'.$Group['DBCFileName'].'.dbc -n '.$this->TempDir.'dbc/'.$Group['DBCFileName'].'.dbc -c '.GetDBCColumns($this->ClientVersion['Version'], $Group['DBCFileName']).' -q '.$querty; 251 251 252 echo('./DBCExport '.$params);252 // echo('./DBCExport '.$params); 253 253 254 //exec('./DBCExport '.$params);254 exec('./DBCExport '.$params); 255 255 256 256 echo('Hotovo <br />
Note:
See TracChangeset
for help on using the changeset viewer.