Focus the search term on load
[openemr.git] / interface / main / calendar / config.php
blob8782497d38b9026de2975d5d99985ebdd8ad7749
1 <?php
2 // ----------------------------------------------------------------------
3 // Database & System Config
4 //
5 // dbtype: type of database, currently only mysql
6 // dbhost: MySQL Database Hostname
7 // dbuname: MySQL Username
8 // dbpass: MySQL Password
9 // dbname: MySQL Database Name
10 // system: 0 for Unix/Linux, 1 for Windows
11 // encoded: 0 for MySQL information unenccoded
12 // 1 for encoded
13 // ----------------------------------------------------------------------
15 include_once("../../../library/sqlconf.php");
16 // Modified 5/2009 by BM for UTF-8 project
17 global $host,$port,$login,$pass,$dbase,$disable_utf8_flag;
18 if (!$disable_utf8_flag) {
19 $pnconfig['utf8Flag'] = true;
21 else {
22 $pnconfig['utf8Flag'] = false;
24 // ---------------------------------------
26 $pnconfig['modname'] = "PostCalendar";
27 $pnconfig['startpage'] = "PostCalendar";
28 $pnconfig['language'] = "eng";
29 $pnconfig['dbtype'] = 'mysql';
30 $pnconfig['dbtabletype'] = 'MyISAM';
31 $pnconfig['dbhost'] = $host;
32 $pnconfig['dbuname'] = $login;
33 $pnconfig['dbpass'] = $pass;
34 $pnconfig['dbname'] = $dbase;
35 $pnconfig['system'] = '0';
36 $pnconfig['prefix'] = 'openemr';
37 $pnconfig['encoded'] = '0';
40 $pntable = array();
41 $session_info = $prefix . '_session_info';
42 $pntable['session_info'] = $session_info;
43 $pntable['session_info_column'] = array (
44 'sessid' => $session_info .
45 '.pn_sessid', 'ipaddr' => $session_info .
46 '.pn_ipaddr','firstused' => $session_info .
47 '.pn_firstused','lastused' => $session_info .
48 '.pn_lastused','uid' => $session_info .
49 '.pn_uid','vars' => $session_info .
50 '.pn_vars');
51 // ----------------------------------------------------------------------
52 // For debugging (Pablo Roca)
54 // $debug - debugger windows active
55 // 0 = No
56 // 1 = Yes
58 // $debug_sql - show SQL in lens debug
59 // 0 = No
60 // 1 = Yes
61 // ----------------------------------------------------------------------
62 GLOBAL $pndebug;
63 $pndebug['debug'] = 0;
64 $pndebug['debug_sql'] = 0;
66 // ----------------------------------------------------------------------
67 // You have finished configuring the database. Now you can start to
68 // change your site settings in the Administration Section.
70 // Thanks for choosing PostNuke.
71 // ----------------------------------------------------------------------
73 // ----------------------------------------------------------------------
74 // if there is a personal_config.php in the folder where is config.php
75 // we add it. (This HAS to be at the end, after all initialization.)
76 // ----------------------------------------------------------------------
77 if (@file_exists("personal_config.php"))
78 { include("personal_config.php"); }
79 // ----------------------------------------------------------------------
80 // Make config file backwards compatible (deprecated)
81 // ----------------------------------------------------------------------
82 extract($pnconfig, EXTR_OVERWRITE);