Commit e65076e108374f4124e15785ce39ec245b0cf587

Authored by root
1 parent 8ec98c9f

MAJ

Showing 2 changed files with 9 additions and 2 deletions   Show diff stats
1 <?php // content="text/plain; charset=utf-8" 1 <?php // content="text/plain; charset=utf-8"
2 -require_once ('jpgraph/src/jpgraph.php');  
3 -require_once ('jpgraph/src/jpgraph_line.php'); 2 +require_once ('jpgraph/jpgraph.php');
  3 +require_once ('jpgraph/jpgraph_line.php');
4 4
5 $datay1 = array(20,15,23,15); 5 $datay1 = array(20,15,23,15);
6 $datay2 = array(12,9,42,8); 6 $datay2 = array(12,9,42,8);
site/jpgraph/jpg-config.inc.php
@@ -135,4 +135,11 @@ define(&#39;DEFAULT_THEME_CLASS&#39;, &#39;UniversalTheme&#39;); @@ -135,4 +135,11 @@ define(&#39;DEFAULT_THEME_CLASS&#39;, &#39;UniversalTheme&#39;);
135 define('SUPERSAMPLING', true); 135 define('SUPERSAMPLING', true);
136 define('SUPERSAMPLING_SCALE', 1); 136 define('SUPERSAMPLING_SCALE', 1);
137 137
  138 +define('ANTIALIASING', false);
  139 +
  140 +if(!ANTIALIASING){
  141 + function imageantialias($image, $enabled){
  142 + return true;
  143 + }
  144 +}
138 ?> 145 ?>