From 2103e5661a3877daf1321b8fd9e074172c713e18 Mon Sep 17 00:00:00 2001
From: Kirill Krasnov <krasnovforum@gmail.com>
Date: Thu, 11 Feb 2010 10:58:48 +0200
Subject: [PATCH] Fix #11492 checking jpgraph default value

---
 admin/check.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/admin/check.php b/admin/check.php
index ed5c155..5ba969e 100644
--- a/admin/check.php
+++ b/admin/check.php
@@ -344,7 +344,7 @@ if( plugin_is_installed( 'MantisGraph' ) ) {
 
 	print_test_row( 'checking gd is enabled, and version 2...', get_gd_version() == 2 );
 	if ( plugin_config_get( 'eczlibrary', OFF ) == OFF ) {
-		$t_jpgraph_path = BASE_PATH . DIRECTORY_SEPARATOR . 'library' . DIRECTORY_SEPARATOR . 'jpgraph' . DIRECTORY_SEPARATOR;
+		$t_jpgraph_path = config_get( 'absolute_path' ) . 'library' . DIRECTORY_SEPARATOR . 'jpgraph' . DIRECTORY_SEPARATOR;
 
 		if( !file_exists( $t_jpgraph_path . 'jpgraph.php') ) {
 			print_test_row( 'checking we can find jpgraph class files...', false );
-- 
1.6.5.1.1367.gcd48

