Changeset 718 for trunk/Modules/Export
- Timestamp:
- Jan 5, 2014, 6:45:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/cmdmpqexport.php
r694 r718 3 3 ini_set('memory_limit', '100M'); 4 4 5 $_SERVER['REMOTE_ADDR'] = ' localhost';6 $_SERVER['REQUEST_URI'] = '127.0.0.1';5 $_SERVER['REMOTE_ADDR'] = '127.0.0.1'; 6 $_SERVER['REQUEST_URI'] = __FILE__; 7 7 8 8 include_once(dirname(__FILE__).'/../../includes/global.php'); … … 16 16 $PageExport = new PageExport($System); 17 17 18 $_SERVER['REQUEST_URI'] = __FILE__; 18 19 19 20 20 $Output = ''; … … 88 88 89 89 if(array_key_exists('needgeneration', $_GET)) { 90 foreach ($System->Config['Web']['RecommendedExport'] as $ExportId) { 90 $DbRows = $System->Database->query('SELECT `ClientVersion`.`Version` as Version, `Export`.`Id`,`Export`.`ClientVersion`,`Export`.`OutputType`,`Export`.`Title`,`Export`.`Description` FROM `Export` JOIN `ClientVersion` as `ClientVersion` ON `ClientVersion`.`Id`=`Export`.`ClientVersion` WHERE `Featured`=1 ORDER BY `ClientVersion`.`BuildNumber` DESC'); 91 while ($DbExport = $DbRows->fetch_assoc()) { 91 92 $Export = new Export($System); 92 $Export->Id = $ ExportId;93 $Export->Id = $DbExport['Id']; 93 94 $Output .= $Export->Init(); 94 95 if ($Export->NeedGeneration()) {
Note:
See TracChangeset
for help on using the changeset viewer.