Changeset 816 for trunk/Modules/Export/ProcessAoWoWExport.php
- Timestamp:
- Feb 22, 2015, 11:20:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/ProcessAoWoWExport.php
r805 r816 5 5 include_once('../../includes/global.php'); 6 6 //include_once('../../includes/dbc.php'); 7 include_once('Export.php'); 8 include_once('Page.php'); 7 include_once('Export.php'); 8 include_once('Page.php'); 9 9 10 10 $System = new System(); 11 11 $System->DoNotShowPage = true; 12 12 $System->Run(); 13 13 14 14 $Output = ''; 15 15 16 if(defined('STDIN') == false) 16 if(defined('STDIN') == false) 17 17 { 18 18 $Output = T('Access denied'); 19 19 exit($Output); 20 } 20 } 21 21 22 22 foreach($_SERVER['argv'] as $parameter) … … 36 36 $Export->Id = $Config['AoWoWExportId']; 37 37 } else $Export->Id = 37; 38 $Output .= $Export->Init(); 38 $Output .= $Export->Init(); 39 39 $SQL = $Export->ExportToAoWoWSQL(); 40 40 echo 'Hotovo … … 89 89 } 90 90 $Files = scandir(dirname(__FILE__).'/../../aowow/cache/templates/wowhead'); 91 foreach($Files as $File) 91 foreach($Files as $File) 92 92 { 93 93 $End = substr($File, strlen($File) - 3);
Note:
See TracChangeset
for help on using the changeset viewer.