Skip to content

Commit

Permalink
updated configuration file to include linked-table infrastructure sup…
Browse files Browse the repository at this point in the history
…port
  • Loading branch information
bradymiller committed May 14, 2009
1 parent 3abde73 commit 89d2983
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions phpmyadmin/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Generated configuration file
* Generated by: phpMyAdmin 2.11.9.5 setup script
* Date: Tue, 12 May 2009 00:50:16 GMT
*
* Heavily customized for OpenEMR by Brady Miller.
*
*/


Expand All @@ -23,11 +26,37 @@

/* Server localhost (config:openemr) [1] */
$i++;

//For standard OpenEMR database access
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['host'] = $sqlconf['host'];
$cfg['Servers'][$i]['port'] = $sqlconf['port'];
$cfg['Servers'][$i]['user'] = $sqlconf['login'];
$cfg['Servers'][$i]['password'] = $sqlconf['pass'];
$cfg['Servers'][$i]['only_db'] = $sqlconf['dbase'];

//For control user access to use the relational
// database features provided by phpmyadmin
// in the OpenEMR database. Note that there is
// not full functionality because there is no
// designer_coords table. Also note that the
// sql bookmarks (pma_bookmarks) are currently
// utilized by OpenEMR itself to create custom
// reports at openemr/interface/reports/index.php
//
$cfg['Servers'][$i]['controluser'] = $sqlconf['login'];
$cfg['Servers'][$i]['controlpass'] = $sqlconf['pass'];
$cfg['Servers'][$i]['pmadb'] = $sqlconf['dbase'];
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = '';
$cfg['Servers'][$i]['verbose_check'] = TRUE;

/* End of servers configuration */


Expand Down

0 comments on commit 89d2983

Please sign in to comment.