avoid unescaped quotes when updating database
[openemr.git] / includes / config.php
blobb313f7e363f60930bc703acd316d5c4fd2206d19
1 <?php
2 $GLOBALS['oer_config']['freeb']['claim_file_dir'] = "/usr/share/freeb/public/";
3 //currently can be pdf or txt
4 $GLOBALS['oer_config']['freeb']['default_format'] = "pdf";
5 $GLOBALS['oer_config']['freeb']['username'] = "freeb";
6 $GLOBALS['oer_config']['freeb']['password'] = "12345";
7 $GLOBALS['oer_config']['freeb']['print_command'] = "/usr/bin/lpr";
8 $GLOBALS['oer_config']['freeb']['printer_name'] = "HP_LaserJet4L";
9 $GLOBALS['oer_config']['freeb']['printer_extras'] = "-o PageSize=Letter -o portrait";
11 //used differently by different applications, intuit programs only like numbers
12 $GLOBALS['oer_config']['ofx']['bankid'] = "123456789";
14 //you can use this to match to an existing account in you accounting application
15 $GLOBALS['oer_config']['ofx']['acctid'] = "123456789";
17 //use FL for FLORIDA compatible format, leave blank for default
18 $GLOBALS['oer_config']['prescriptions']['format'] = "";
20 //Document storage repository document root, if it does not begin with a slash it is set relative to the file root
21 //you must include a trailing slash in either case
22 $GLOBALS['oer_config']['documents']['repository'] = "documents/";
23 $GLOBALS['oer_config']['documents']['file_command_path'] = "/usr/bin/file";
25 //Name of prescription graphic in interface/pic/ directory without preceding slash. Can be JPEG or PNG, normally 3 inches wide.
26 $GLOBALS['oer_config']['prescriptions']['logo_pic'] = "prescription_logo.png";
28 //Name of signature graphic in interface/pic/ directory without preceding slash. Normally 3 inches wide.
29 $GLOBALS['oer_config']['prescriptions']['sig_pic'] = "sig.png";
30 //Option to used signature graphic or not
31 $GLOBALS['oer_config']['prescriptions']['use_signature'] = false;
33 // only works with hylafax sendfax client, and sendfax must be in PATH
34 // assign 'sendfax' to turn fax sending on
35 $GLOBALS['oer_config']['prescriptions']['sendfax'] = '';
37 // asign a value here if there is any prefix needed to get dialing tone
38 // you can also append a comma to add a one second delay
39 // i.e. 9, will dial 9 for external tone, and wait a second.
40 $GLOBALS['oer_config']['prescriptions']['prefix'] = '';
42 // select paper size for prescription printing
43 // see library/classes/class.ezpdf.php for complete list of paper sizes
44 // ex. "LETTER", "A4", "LEGAL" ...
45 $GLOBALS['oer_config']['prescriptions']['paper_size'] = "LETTER";
47 // change page margins for prescription printing
48 // note, values are in pixels (72 dots per inch)
49 // to convert from centimeters use the following: (centimeters / 2.54 ) * 72;
50 $GLOBALS['oer_config']['prescriptions']['left'] = 30;
51 $GLOBALS['oer_config']['prescriptions']['right'] = 30;
52 $GLOBALS['oer_config']['prescriptions']['top'] = 72;
53 $GLOBALS['oer_config']['prescriptions']['bottom'] = 30;
55 //accounting system web services integration
56 //whether to use the system
57 $GLOBALS['oer_config']['ws_accounting']['enabled'] = false;
58 $GLOBALS['oer_config']['ws_accounting']['server'] = "localhost";
59 $GLOBALS['oer_config']['ws_accounting']['port'] = "80";
60 $GLOBALS['oer_config']['ws_accounting']['url'] = "/sql-ledger/ws_server.pl";
61 $GLOBALS['oer_config']['ws_accounting']['username'] = "unused";
62 $GLOBALS['oer_config']['ws_accounting']['password'] = "unused";
63 $GLOBALS['oer_config']['ws_accounting']['url_path'] = "http://" .
64 $_SERVER["SERVER_NAME"] . "/sql-ledger/login.pl";
65 $GLOBALS['oer_config']['ws_accounting']['income_acct'] = "4020";
67 //don't alter below this line unless you are an advanced user and know what you are doing
69 $GLOBALS['oer_config']['prescriptions']['logo'] = dirname(__FILE__) ."/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['logo_pic'];
70 $GLOBALS['oer_config']['prescriptions']['signature'] = dirname(__FILE__) ."/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['sig_pic'];
71 $GLOBALS['oer_config']['prescriptions']['signature'] = '';
73 if (strpos($GLOBALS['oer_config']['documents']['repository'],"/") !== 0) {
74 $GLOBALS['oer_config']['documents']['repository'] = realpath(dirname(__FILE__) . "/../" . $GLOBALS['oer_config']['documents']['repository']) . "/";