/[dolibarr]/dolibarr/scripts/banque/graph-solde.php
ViewVC logotype

Diff of /dolibarr/scripts/banque/graph-solde.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by eldy, Sat Sep 17 02:32:33 2005 UTC revision 1.10 by eldy, Tue Oct 18 14:03:06 2005 UTC
# Line 38  if (substr($sapi_type, 0, 3) == 'cgi') { Line 38  if (substr($sapi_type, 0, 3) == 'cgi') {
38  // Recupere root dolibarr  // Recupere root dolibarr
39  $path=eregi_replace('graph-solde.php','',$_SERVER["PHP_SELF"]);  $path=eregi_replace('graph-solde.php','',$_SERVER["PHP_SELF"]);
40    
41  require ($path."../../htdocs/master.inc.php");  require_once($path."../../htdocs/master.inc.php");
42    
43  // Vérifie que chemin vers JPGRAHP est connu et defini $jpgraph  // Vérifie que chemin vers JPGRAHP est connu et defini $jpgraph
44  if (! defined('JPGRAPH_DIR') && ! defined('JPGRAPH_PATH'))  if (! defined('JPGRAPH_DIR') && ! defined('JPGRAPH_PATH'))
# Line 51  $jpgraphdir=JPGRAPH_DIR; Line 51  $jpgraphdir=JPGRAPH_DIR;
51  if (! eregi('[\\\/]$',$jpgraphdir)) $jpgraphdir.='/';  if (! eregi('[\\\/]$',$jpgraphdir)) $jpgraphdir.='/';
52    
53    
54  include_once ($jpgraphdir."jpgraph.php");  include_once($jpgraphdir."jpgraph.php");
55  include_once ($jpgraphdir."jpgraph_line.php");  include_once($jpgraphdir."jpgraph_line.php");
56  include_once ($jpgraphdir."jpgraph_bar.php");  include_once($jpgraphdir."jpgraph_bar.php");
57  include_once ($jpgraphdir."jpgraph_pie.php");  include_once($jpgraphdir."jpgraph_pie.php");
58  include_once ($jpgraphdir."jpgraph_error.php");  include_once($jpgraphdir."jpgraph_error.php");
59  include_once ($jpgraphdir."jpgraph_canvas.php");  include_once($jpgraphdir."jpgraph_canvas.php");
60    
61  $error = 0;  $error = 0;
62    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26