acknowledgments update
[openemr.git] / phpmyadmin / config.inc.php
blobe46a86b3089de80d8db22048af1a2b629df57fb2
1 <?php
2 /*
3 * Customized for OpenEMR.
5 */
7 // Access control is dealt with by the ACL check
8 $ignoreAuth = true;
9 require_once("../interface/globals.php");
10 require_once("../library/acl.inc");
11 if ($GLOBALS['disable_phpmyadmin_link']) {
12 echo "You do not have access to this resource<br>";
13 exit;
15 if (! acl_check('admin', 'database')) {
16 echo "You do not have access to this resource<br>";
17 exit;
20 /* Servers configuration */
21 $i = 0;
23 /* Server localhost (config:openemr) [1] */
24 $i++;
26 /* For standard OpenEMR database access */
27 $cfg['Servers'][$i]['auth_type'] = 'config';
28 $cfg['Servers'][$i]['host'] = $sqlconf['host'];
29 $cfg['Servers'][$i]['port'] = $sqlconf['port'];
30 $cfg['Servers'][$i]['user'] = $sqlconf['login'];
31 $cfg['Servers'][$i]['password'] = $sqlconf['pass'];
32 $cfg['Servers'][$i]['only_db'] = $sqlconf['dbase'];
34 /* Other mods for OpenEMR */
35 $cfg['ShowCreateDb'] = false;
36 $cfg['ShowPhpInfo'] = TRUE;