Browse Source

Changed name of variable phpMyAdminPath to ['db_admin_path']

Yannick Warnier 13 years ago
parent
commit
9b3b70b13c
2 changed files with 3 additions and 3 deletions
  1. 2 2
      main/admin/index.php
  2. 1 1
      main/install/configuration.dist.php

+ 2 - 2
main/admin/index.php

@@ -215,8 +215,8 @@ if (api_is_platform_admin()) {
 	
 	$items = array();
 	$items[] = array('url'=>'special_exports.php', 	'label' => get_lang('SpecialExports'));
-	if (!empty($phpMyAdminPath)) {
-		$items[] = array('url'=>$phpMyAdminPath, 	'label' => get_lang('AdminDatabases').' ('.get_lang('DBManagementOnlyForServerAdmin').') ');
+	if (!empty($_configuration['db_admin_path'])) {
+		$items[] = array('url'=>$_configuration['db_admin_path'], 	'label' => get_lang('AdminDatabases').' ('.get_lang('DBManagementOnlyForServerAdmin').') ');
 	}
 	$items[] = array('url'=>'system_status.php', 	'label' => get_lang('SystemStatus'));
 	if (is_dir(api_get_path(SYS_TEST_PATH).'datafiller/')) {

+ 1 - 1
main/install/configuration.dist.php

@@ -80,7 +80,7 @@ $_configuration['course_folder']  = "courses/";
 
 // URL to your phpMyAdmin installation.
 // If not empty, a link will be available in the Platform Administration
-$phpMyAdminPath         = '';
+$_configuration['db_admin_path']  = '';
 
 //============================================================================
 //   Login modules settings