Changed word in text for an Appointment Display Style global option, to mirror Add...
[openemr.git] / phpmyadmin / config.inc.php
blob8a4797311dfc836179b85cfddebd7a9f20a518e1
1 <?php
2 /*
3 * Customized for OpenEMR.
5 */
7 // Access control is dealt with by the ACL check
8 $fake_register_globals=false;
9 $sanitize_all_escapes=true;
10 $ignoreAuth = true;
11 require_once(dirname(__FILE__)."/../interface/globals.php");
12 require_once(dirname(__FILE__)."/../library/acl.inc");
13 if ($GLOBALS['disable_phpmyadmin_link']) {
14 echo "You do not have access to this resource<br>";
15 exit;
17 if (! acl_check('admin', 'database')) {
18 echo "You do not have access to this resource<br>";
19 exit;
22 /* Servers configuration */
23 $i = 0;
25 /* Server localhost (config:openemr) [1] */
26 $i++;
28 /* For standard OpenEMR database access */
29 $cfg['Servers'][$i]['auth_type'] = 'config';
30 $cfg['Servers'][$i]['host'] = $sqlconf['host'];
31 $cfg['Servers'][$i]['port'] = $sqlconf['port'];
32 $cfg['Servers'][$i]['user'] = $sqlconf['login'];
33 $cfg['Servers'][$i]['password'] = $sqlconf['pass'];
34 $cfg['Servers'][$i]['only_db'] = $sqlconf['dbase'];
36 /* Other mods for OpenEMR */
37 $cfg['AllowThirdPartyFraming'] = TRUE;
38 $cfg['ShowCreateDb'] = false;
39 $cfg['ShowPhpInfo'] = TRUE;