bug fix of encounter number use for CAMOS entry in custom reports
[openemr.git] / phpmyadmin / config.inc.php
blob28eb7679d80decd2e5f912a7538a8855572446a0
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 /* OpenEMR Access Control */
13 // Does not work with the new globals.php that reads settings from the
14 // database. I have no idea why. -- Rod 2010-03-30
15 /*********************************************************************
16 require_once("../interface/globals.php");
17 require_once("../library/acl.inc");
18 if (! acl_check('admin', 'database')) {
19 echo "You do not have access to this resource<br>";
20 exit;
22 *********************************************************************/
24 /* OpenEMR Database Settings */
25 require_once("../library/sqlconf.php");
28 /* Servers configuration */
29 $i = 0;
31 /* Server localhost (config:openemr) [1] */
32 $i++;
34 //For standard OpenEMR database access
35 $cfg['Servers'][$i]['auth_type'] = 'config';
36 $cfg['Servers'][$i]['host'] = $sqlconf['host'];
37 $cfg['Servers'][$i]['port'] = $sqlconf['port'];
38 $cfg['Servers'][$i]['user'] = $sqlconf['login'];
39 $cfg['Servers'][$i]['password'] = $sqlconf['pass'];
40 $cfg['Servers'][$i]['only_db'] = $sqlconf['dbase'];
42 //For control user access to use the relational
43 // database features provided by phpmyadmin
44 // in the OpenEMR database. Note that there is
45 // not full functionality because there is no
46 // designer_coords table. Also note that the
47 // sql bookmarks (pma_bookmarks) are currently
48 // utilized by OpenEMR itself to create custom
49 // reports at openemr/interface/reports/index.php
51 $cfg['Servers'][$i]['controluser'] = $sqlconf['login'];
52 $cfg['Servers'][$i]['controlpass'] = $sqlconf['pass'];
53 $cfg['Servers'][$i]['pmadb'] = $sqlconf['dbase'];
54 $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
55 $cfg['Servers'][$i]['relation'] = 'pma_relation';
56 $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
57 $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
58 $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
59 $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
60 $cfg['Servers'][$i]['history'] = 'pma_history';
61 $cfg['Servers'][$i]['designer_coords'] = '';
62 $cfg['Servers'][$i]['verbose_check'] = TRUE;
64 /* End of servers configuration */
67 /* Other mods - BM 05-2009 */
68 $cfg['ShowCreateDb'] = false;