/config/path.inc.phpStockManiac Path Configuration File
This file contains all paths necessary to find classes and libraries. The code itself relies on the constants defined here.
Normaly end users do *not* need to make adjustments in here. Packagers, however, may produce patches against this file if necessary.
Further down are 'internal' settings which may be of interest for developers. Please do not change them without knowing the code.
DEBUG_FAILED_QUERY = false
(line 103)
debug failed sql queries
DEBUG_SLOW_QUERY = false
(line 96)
debug slow sql queries
FILE_UPLOAD_INEFFICIENCY = 4.5
(line 78)
file upload code inefficiency
LIB_XMLRPC_EPI_UTILS = 'xmlrpc-epi-utils.inc.php'
(line 66)
various libraries (we can not get loaded via __autoload())
PATH_CACHE = '/tmp/StockManiac'
(line 51)
path constants
PATH_CONFIG = PATH_ROOT.'config'
(line 52)
PATH_EXTERNAL = PATH_ROOT.'external_packages'
(line 54)
PATH_LIB = PATH_ROOT.'lib'
(line 55)
PATH_LOCALE = PATH_ROOT.'locale'
(line 56)
PATH_PLUGINS = PATH_ROOT.'plugins'
(line 53)
PATH_ROOT = false
(line 28)
local install directory
PATH_STOCKMANIACCONFIG = false
(line 46)
end user configuration file
PATH_TEMPLATES = PATH_ROOT.'templates'
(line 58)
PATH_TEMPLATES_C = PATH_ROOT.'templates_c'
(line 59)
PATH_TEST = PATH_ROOT.'test'
(line 60)
PATH_THEMES = PATH_ROOT.'themes'
(line 57)
PATH_WEBROOT = _MAGIC_PATH
(line 135)
define the webroot
TEST_BASEURL = 'http://localhost/~ste/stockmaniac/gui'
(line 88)
TEST_DATABASE = 'stockmaniac_unittest'
(line 84)
database to be used to run unit tests
TEST_DATABASE_PASS = 'devel'
(line 87)
TEST_DATABASE_SCHEMA = 'install.d/mysql-structure.sql'
(line 85)
TEST_DATABASE_USER = 'devel'
(line 86)
_MAGIC_PATH = $up
(line 123)
create the magic path to find stuff relativly
Documentation generated on Sun, 22 Aug 2010 11:20:23 +0200 by phpDocumentor 1.4.3