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