Ignore:
Timestamp:
Dec 29, 2013, 8:49:21 PM (11 years ago)
Author:
maron
Message:
  • Added: script for merge Texts
  • Fixed: script for repair version end
  • Fixed: progress file
File:
1 edited

Legend:

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

    r672 r674  
    256256
    257257  function AddProgress($add = 2) {
     258    if (file_exists($this->TempDir.'progress')) {
    258259      $File = new FileStream();
    259260      $File->OpenFile($this->TempDir.'progress');
    260261      $Line = $File->ReadLine(); 
     262   
    261263      $File = new FileStream();
    262264      $File->CreateFile($this->TempDir.'progress');
    263265      $Line+=$add;
    264266      $File->WriteLine($Line);
     267    }
    265268  }
    266269
     
    362365          if($Progress != $OldProgress)
    363366          {
     367            if ($Group['Id'] == 13) $this->AddProgress(0.01);
    364368            $Output .= $Progress."%\r";
    365369            echo($Output);
     
    401405           //   $CanExport = false;
    402406        //    $DbRow[$Column['Column']] = str_replace ( '$ ','$',$DbRow[$Column['Column']]);
    403      //       echo $DbRow[$Column['Column']].'  -  '.$DbRow['En'.$Column['Column']].'
    404 //';
     407            $DbRow[$Column['Column']] = $DbRow['En'.$Column['Column']];
     408
    405409            if (!$this->HaveVarible($DbRow['En'.$Column['Column']],$DbRow[$Column['Column']])) {
    406410              if ($CanExport) $Output .= ', NE='.$DbRow['ID'];
Note: See TracChangeset for help on using the changeset viewer.