Changeset 86
- Timestamp:
- 03/21/08 14:12:26 (4 years ago)
- Location:
- trunk/server/docflow/www
- Files:
-
- 4 edited
-
conf.inc.php (modified) (1 diff)
-
docflow.php (modified) (1 diff)
-
input.php (modified) (2 diffs)
-
misc.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/docflow/www/conf.inc.php
r66 r86 7 7 $MYSQL_BASE='city'; 8 8 $MYSQL_USER='city'; 9 $MYSQL_PASSWD=' spul';9 $MYSQL_PASSWD=''; 10 10 11 11 // city docflow specifics 12 $CONFIG_BASELOCATION='http:// decisions/docflow';13 $CONFIG_ROOTID=' ROOT'; // must match the name of the scenari "root" user12 $CONFIG_BASELOCATION='http://172.21.151.0/docflow'; 13 $CONFIG_ROOTID='SCG'; // must match the name of the scenari "root" user 14 14 $CONFIG_TIMEZONE='Europe/Paris'; 15 15 $CONFIG_SERVERCODE='gtoqpakcdcd'; -
trunk/server/docflow/www/docflow.php
r79 r86 256 256 } else { 257 257 $datecreation=date('d/m/y',strtotime($datecreation)); 258 $datedepot=date('d/m/y',strtotime($datedepot));259 $dateretour=date('d/m/y',strtotime($dateretour));260 258 $datefait=date('d/m/y',strtotime($datefait)); 259 if ($datedepot) 260 $datedepot=date('d/m/y',strtotime($datedepot)); 261 if ($dateretour) 262 $dateretour=date('d/m/y',strtotime($dateretour)); 261 263 if ($datepublic) 262 264 $datepublic=date('d/m/y',strtotime($datepublic)); -
trunk/server/docflow/www/input.php
r79 r86 11 11 $file_xml="/source.xml"; 12 12 //$file_odt="/../normalGenerator/document.odt"; 13 $file_pdf="/ document.pdf";13 $file_pdf="/../paperPreview/document.pdf"; 14 14 15 15 function docflow_result($status,$message) { … … 57 57 docflow_result(false, "Erreur: chemin du fichier sur le serveur n'est pas un répertoire accessible $path"); 58 58 if (!(is_file($path.$file_xml) && is_readable($path.$file_xml))) 59 docflow_result(false, "Erreur: le fichier source (xml) n'est pas accessible ");59 docflow_result(false, "Erreur: le fichier source (xml) n'est pas accessible (".$path.$file_xml.")"); 60 60 //if (!(is_file($path.$file_odt) && is_readable($path.$file_odt))) 61 61 // docflow_result(false, "Erreur: le fichier OpenDocument (odt) n'est pas accessible"); 62 62 if (!(is_file($path.$file_pdf) && is_readable($path.$file_pdf))) 63 docflow_result(false, "Erreur: le fichier PDF n'est pas accessible ");63 docflow_result(false, "Erreur: le fichier PDF n'est pas accessible (".$path.$file_pdf.")"); 64 64 65 65 // extract "objet" data from the xml document -
trunk/server/docflow/www/misc.inc.php
r75 r86 112 112 // return the "Objet" document field content 113 113 public function getObjet() { 114 $query = '/sc:item/ct:arrete/sp:objet/ct: text';114 $query = '/sc:item/ct:arrete/sp:objet/ct:sTxt'; 115 115 $entries = $this->xpath->query($query, $this->doc); 116 116 return $entries->item(0)->nodeValue."\n";
Note: See TracChangeset
for help on using the changeset viewer.