Changeset 718
- Timestamp:
- Jan 5, 2014, 6:45:02 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 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()) { -
trunk/Modules/Import/cmd.php
r708 r718 1 1 <?php 2 3 $_SERVER['REMOTE_ADDR'] = '127.0.0.1'; 4 $_SERVER['REQUEST_URI'] = __FILE__; 5 2 6 3 7 include_once('../../includes/global.php'); -
trunk/includes/Version.php
r717 r718 6 6 // and system will need database update. 7 7 8 $Revision = 71 7; // Subversion revision8 $Revision = 718; // Subversion revision 9 9 $DatabaseRevision = 716; // Database structure revision 10 10 $ReleaseTime = '2014-01-05';
Note:
See TracChangeset
for help on using the changeset viewer.