Source for file config.php
Documentation is available at config.php
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* @author m2mtech <tech@m2m.at>
* @copyright 2007 m2m server software gmbh
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License Version 2
* @link http://www.ea-geier.at/
* WARNING: If you make changes here, they might disappear with the next
* software upgrade. Changes in 'config/config.php' will survive.
* local environment configuration
$conf = array(); // clean up
if (is_file('config/config.php')) include_once('config/config.php');
else $conf['notInstalled'] = true;
* path to simpletest suite
define('eaSIMPLE_TEST', '3party/simpletest/simpletest_1.0.1beta/');
define('eaSMARTY_DIR', '3party/smarty/Smarty-2.6.18/libs/');
* path to temporary smarty folder
define('eaSMARTY_TMP', 'tmp/smarty/');
* path to template folder for smarty
define('eaSMARTY_HTML', 'html/');
* path to language folder for smarty
define('eaSMARTY_LANG', 'lang/');
define('eaADODB_DIR', '3party/adodb/adodb495a/');
* name of output function for ADOdb
* @global string $ADODB_OUTP
$ADODB_OUTP = 'eaADODBerrorLog';
* @global string $conf['dsn']
if (!isset ($conf['dsn']))
$conf['dsn'] = 'driver://user:password@server/database';
* @global string $conf['tablePrefix']
if (!isset ($conf['tablePrefix']))
$conf['tablePrefix'] = '';
* @global string $conf['sessionName']
if (!isset ($conf['sessionName'])) $conf['sessionName'] = 'eageier';
define('eaSWIFT_DIR', '3party/swift/Swift-3.3.0-php4/lib');
* path to FakeMail server
define('eaFAKEMAIL_DIR', '3party/fakemail/fakemail_1.0_beta/');
* path to FakeMail temporary folder
define('eaFAKEMAIL_TMP', 'tmp/test/');
* address of FakeMail server
define('eaFAKEMAIL_SERVER', 'localhost');
* port of FakeMail server
define('eaFAKEMAIL_PORT', '10025');
* installation without network access
* @global boolean $conf['localInstallation']
if (!isset ($conf['localInstallation'])) $conf['localInstallation'] = false;
if (defined('eaDEBUG')) $conf['localInstallation'] = true;
* path to prototype library
define('eaPROTOTYPE', '3party/prototype/prototype-1.5.1.1/');
define('eaSYSADMIN', 'admin@ea-geier.at');
* names of database tables
* @global array $conf['txtDBTables']
if (!isset ($conf['txtDBTables']))
$conf['txtDBTables'] = array('simpletest', 'config', 'clients', 'clientconfig', 'users', 'userconfig');
* @global array $conf['txtClientTables']
if (!isset ($conf['txtClientTables']))
$conf['txtClientTables'] = array('cashbook', 'assets', 'purchasebook', 'travels', 'balance');
//if (defined('E_STRICT')) error_reporting(E_ALL | E_STRICT);
// adodb is not E_STRICT conform ... switch it off to do not generate unnecessary messages
ini_set('error_log', 'log/.hterror');
* @global string $conf['txtCSVDelimiter']
if (!isset ($conf['txtCSVDelimiter']))
$conf['txtCSVDelimiter'] = ';';
* @global string $conf['txtCSVQuote']
if (!isset ($conf['txtCSVQuote']))
$conf['txtCSVQuote'] = '"';
* @global string $conf['txtCSVEscQuote']
if (!isset ($conf['txtCSVEscQuote']))
$conf['txtCSVEscQuote'] = '""';
* @global string $conf['txtCSVNewLine']
if (!isset ($conf['txtCSVNewLine']))
$conf['txtCSVNewLine'] = "\r\n";
|