Changed name of variable phpMyAdminPath to ['db_admin_path']

skala
Yannick Warnier 13 years ago
parent b880879ab3
commit 9b3b70b13c
  1. 4
      main/admin/index.php
  2. 2
      main/install/configuration.dist.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/')) {

@ -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

Loading…
Cancel
Save