Fix a nasty bug; avoid 0 value for pc_multiple field.
[openemr.git] / interface / main / calendar / config.php
blob2bd83baba349183bd6e25e98ae898701a5b1f67a
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 global $host,$port,$login,$pass,$dbase;
17 $pnconfig['modname'] = "PostCalendar";
18 $pnconfig['startpage'] = "PostCalendar";
19 $pnconfig['language'] = "eng";
20 $pnconfig['dbtype'] = 'mysql';
21 $pnconfig['dbtabletype'] = 'MyISAM';
22 $pnconfig['dbhost'] = $host;
23 $pnconfig['dbuname'] = $login;
24 $pnconfig['dbpass'] = $pass;
25 $pnconfig['dbname'] = $dbase;
26 $pnconfig['system'] = '0';
27 $pnconfig['prefix'] = 'openemr';
28 $pnconfig['encoded'] = '0';
31 $pntable = array();
32 $session_info = $prefix . '_session_info';
33 $pntable['session_info'] = $session_info;
34 $pntable['session_info_column'] = array (
35 'sessid' => $session_info .
36 '.pn_sessid', 'ipaddr' => $session_info .
37 '.pn_ipaddr','firstused' => $session_info .
38 '.pn_firstused','lastused' => $session_info .
39 '.pn_lastused','uid' => $session_info .
40 '.pn_uid','vars' => $session_info .
41 '.pn_vars');
42 // ----------------------------------------------------------------------
43 // For debugging (Pablo Roca)
45 // $debug - debugger windows active
46 // 0 = No
47 // 1 = Yes
49 // $debug_sql - show SQL in lens debug
50 // 0 = No
51 // 1 = Yes
52 // ----------------------------------------------------------------------
53 GLOBAL $pndebug;
54 $pndebug['debug'] = 0;
55 $pndebug['debug_sql'] = 0;
57 // ----------------------------------------------------------------------
58 // You have finished configuring the database. Now you can start to
59 // change your site settings in the Administration Section.
61 // Thanks for choosing PostNuke.
62 // ----------------------------------------------------------------------
64 // ----------------------------------------------------------------------
65 // if there is a personal_config.php in the folder where is config.php
66 // we add it. (This HAS to be at the end, after all initialization.)
67 // ----------------------------------------------------------------------
68 if (@file_exists("personal_config.php"))
69 { include("personal_config.php"); }
70 // ----------------------------------------------------------------------
71 // Make config file backwards compatible (deprecated)
72 // ----------------------------------------------------------------------
73 extract($pnconfig, EXTR_OVERWRITE);