View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011492 | mantisbt | administration | public | 2010-02-11 03:55 | 2010-04-23 14:30 |
| Reporter | Kirill | Assigned To | dhx | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | git trunk | ||||
| Target Version | 1.2.1 | Fixed in Version | 1.2.1 | ||
| Summary | 0011492: What is BASE_PATH in check.php | ||||
| Description | When check jpgraph What is BASE_PATH? For me is equal 'BASE_PATH'; | ||||
| Tags | patch | ||||
| Attached Files | Issue11492.patch (1,031 bytes)
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
| ||||
|
MantisBT: master-1.2.x 0cc43087 2010-02-11 03:58 Kirill Krasnov Committer: dhx Details Diff |
Fix 0011492: Incorrect use of BASE_PATH constant in jpgraph check Within admin/check.php the jpgraph check attempts to find the jpgraph libraries by using the BASE_PATH constant instead of config_get( 'absolute_path' ). Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0011492 |
|
| mod - admin/check.php | Diff File | ||
|
MantisBT: master db07af11 2010-02-11 03:58 Kirill Krasnov Committer: dhx Details Diff |
Fix 0011492: Incorrect use of BASE_PATH constant in jpgraph check Within admin/check.php the jpgraph check attempts to find the jpgraph libraries by using the BASE_PATH constant instead of config_get( 'absolute_path' ). Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0011492 |
|
| mod - admin/check.php | Diff File | ||