improved default for sql-ledger url
[openemr.git] / includes / config.php
bloba392b08decd437910263e7946a310f9e75e81c9a
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";
31 // only works with hylafax sendfax client, and sendfax must be in PATH
32 // assign 'sendfax' to turn fax sending on
33 $GLOBALS['oer_config']['prescriptions']['sendfax'] = '';
35 // asign a value here if there is any prefix needed to get dialing tone
36 // you can also append a comma to add a one second delay
37 // i.e. 9, will dial 9 for external tone, and wait a second.
38 $GLOBALS['oer_config']['prescriptions']['prefix'] = '';
40 //accounting system web services integration
41 //whether to use the system
42 $GLOBALS['oer_config']['ws_accounting']['enabled'] = false;
43 $GLOBALS['oer_config']['ws_accounting']['server'] = "localhost";
44 $GLOBALS['oer_config']['ws_accounting']['port'] = "80";
45 $GLOBALS['oer_config']['ws_accounting']['url'] = "/sql-ledger/ws_server.pl";
46 $GLOBALS['oer_config']['ws_accounting']['username'] = "admin";
47 $GLOBALS['oer_config']['ws_accounting']['password'] = "12345";
48 $GLOBALS['oer_config']['ws_accounting']['url_path'] = "http://" .
49 $_SERVER["SERVER_NAME"] . "/sql-ledger/login.pl";
50 $GLOBALS['oer_config']['ws_accounting']['income_acct'] = "10035";
52 //don't alter below this line unless you are an advanced user and know what you are doing
54 $GLOBALS['oer_config']['prescriptions']['logo'] = dirname(__FILE__) ."/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['logo_pic'];
55 $GLOBALS['oer_config']['prescriptions']['signature'] = dirname(__FILE__) ."/../interface/pic/" . $GLOBALS['oer_config']['prescriptions']['sig_pic'];
57 if (strpos($GLOBALS['oer_config']['documents']['repository'],"/") !== 0) {
58 $GLOBALS['oer_config']['documents']['repository'] = realpath(dirname(__FILE__) . "/../" . $GLOBALS['oer_config']['documents']['repository']) . "/";