Ignore:
Timestamp:
Sep 12, 2010, 6:55:44 PM (11 years ago)
Author:
teymour
Message:

Intégration des multi signataires

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/lib/task/loadDocumentsTask.class.php

    r1367 r1372  
    1919          if ($file == ".." || $file == "." || $file == ".svn") continue;
    2020          foreach(file($dir.$file) as $line) {
     21            echo "try $dir$file :\n";
    2122            $json = json_decode($line);
    2223            if (!$json )
     
    5051              $doc->date = $json->date_depot;
    5152              $doc->type = $json->type;
    52               $doc->save();
     53              //              $doc->save();
    5354            }
    5455            if ($json->date_publi)
     
    7071              $doc->setContenu($json->contenu);
    7172            $doc->save();
    72             $doc->free();
    7373            echo "$dir$file DONE\n";
    7474          }
Note: See TracChangeset for help on using the changeset viewer.