Changeset 718


Ignore:
Timestamp:
Jan 5, 2014, 6:45:02 PM (11 years ago)
Author:
maron
Message:
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/cmdmpqexport.php

    r694 r718  
    33ini_set('memory_limit', '100M');
    44
    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__;
    77
    88include_once(dirname(__FILE__).'/../../includes/global.php');
     
    1616$PageExport = new PageExport($System);
    1717
    18 $_SERVER['REQUEST_URI'] = __FILE__;
     18
    1919
    2020$Output = '';
     
    8888
    8989if(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()) {
    9192  $Export = new Export($System);
    92   $Export->Id = $ExportId;
     93  $Export->Id = $DbExport['Id'];
    9394  $Output .= $Export->Init();                   
    9495  if ($Export->NeedGeneration()) {
  • trunk/Modules/Import/cmd.php

    r708 r718  
    11<?php
     2
     3$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
     4$_SERVER['REQUEST_URI'] = __FILE__;
     5
    26
    37include_once('../../includes/global.php');
  • trunk/includes/Version.php

    r717 r718  
    66// and system will need database update.
    77
    8 $Revision = 717; // Subversion revision
     8$Revision = 718; // Subversion revision
    99$DatabaseRevision = 716; // Database structure revision
    1010$ReleaseTime = '2014-01-05';
Note: See TracChangeset for help on using the changeset viewer.