Skip to content

Commit

Permalink
Fixed a bug where JPGRAPH font dir was set too late and therefore not…
Browse files Browse the repository at this point in the history
… used.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/stable_plus@3257 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Aug 29, 2007
1 parent 499b6f9 commit 761037b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/statistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
$statisticsoutput ='';
if ($usejpgraph == 1 && isset($jpgraphdir)) //JPGRAPH CODING SUBMITTED BY Pieterjan Heyse
{
if (isset($jpgraphfontdir) && $jpgraphfontdir!="")
{
DEFINE("TTF_DIR",$jpgraphfontdir); // url of fonts files
}
require_once ("$jpgraphdir/jpgraph.php");
require_once ("$jpgraphdir/jpgraph_pie.php");
require_once ("$jpgraphdir/jpgraph_pie3d.php");
require_once ("$jpgraphdir/jpgraph_bar.php");

if (isset($jpgraphfontdir) && $jpgraphfontdir!="")
{
DEFINE("TTF_DIR",$jpgraphfontdir); // url of fonts files
}

//$currentuser is created as prefix for jpgraph files
if (isset($_SERVER['REDIRECT_REMOTE_USER']))
Expand Down

0 comments on commit 761037b

Please sign in to comment.