Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 796 → Rev 797

/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
68,9 → 68,9
$this->graduations_id = $this->getParametreTableau('graduations_id');
$this->champs_ontologiques = $this->getParametreTableau('champs_ontologiques');
$this->cheminGraphBase = $this->config['chemin'];
$cacheOptions = array('mise_en_cache' => $this->config['cache']['miseEnCache'],
'stockage_chemin' => $this->config['cache']['stockageChemin'],
'duree_de_vie' => $this->config['cache']['dureeDeVie']);
$cacheOptions = array('mise_en_cache' => $this->config['cache_miseEnCache'],
'stockage_chemin' => $this->config['cache_stockageChemin'],
'duree_de_vie' => $this->config['cache_dureeDeVie']);
$this->cache = $conteneur->getCacheSimple($cacheOptions);
$this->definirVersion();
$this->definirFormat();
373,8 → 373,8
public function convertirEnPNGAvecRsvg($svg) {
$idFichier = $this->getIdFichier();
$fichierPng = $this->config['cache']['stockageChemin']."".$idFichier.'.png';
$fichierSvg = $this->config['cache']['stockageChemin']."".$idFichier.'.svg';
$fichierPng = $this->config['cache_stockageChemin']."".$idFichier.'.png';
$fichierSvg = $this->config['cache_stockageChemin']."".$idFichier.'.svg';
file_put_contents($fichierSvg, $svg);
$commande = "rsvg-convert $fichierSvg -w ".$this->largeurSVG ." -h ".$this->hauteurSVG ." -o $fichierPng";
//echo $commande; exit;