3 * Generated configuration file
4 * Generated by: phpMyAdmin 2.11.9.5 setup script
5 * Date: Tue, 12 May 2009 00:50:16 GMT
7 * Heavily customized for OpenEMR by Brady Miller.
12 /* OpenEMR Access Control */
13 require_once("../interface/globals.php");
14 require_once("../library/acl.inc");
15 if (! acl_check('admin', 'database')) {
16 echo "You do not have access to this resource<br>";
20 /* OpenEMR Database Settings */
21 require_once("../library/sqlconf.php");
24 /* Servers configuration */
27 /* Server localhost (config:openemr) [1] */
30 //For standard OpenEMR database access
31 $cfg['Servers'][$i]['auth_type'] = 'config';
32 $cfg['Servers'][$i]['host'] = $sqlconf['host'];
33 $cfg['Servers'][$i]['port'] = $sqlconf['port'];
34 $cfg['Servers'][$i]['user'] = $sqlconf['login'];
35 $cfg['Servers'][$i]['password'] = $sqlconf['pass'];
36 $cfg['Servers'][$i]['only_db'] = $sqlconf['dbase'];
38 //For control user access to use the relational
39 // database features provided by phpmyadmin
40 // in the OpenEMR database. Note that there is
41 // not full functionality because there is no
42 // designer_coords table. Also note that the
43 // sql bookmarks (pma_bookmarks) are currently
44 // utilized by OpenEMR itself to create custom
45 // reports at openemr/interface/reports/index.php
47 $cfg['Servers'][$i]['controluser'] = $sqlconf['login'];
48 $cfg['Servers'][$i]['controlpass'] = $sqlconf['pass'];
49 $cfg['Servers'][$i]['pmadb'] = $sqlconf['dbase'];
50 $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
51 $cfg['Servers'][$i]['relation'] = 'pma_relation';
52 $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
53 $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
54 $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
55 $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
56 $cfg['Servers'][$i]['history'] = 'pma_history';
57 $cfg['Servers'][$i]['designer_coords'] = '';
58 $cfg['Servers'][$i]['verbose_check'] = TRUE;
60 /* End of servers configuration */
63 /* Other mods - BM 05-2009 */
64 $cfg['ShowCreateDb'] = false;