Procedural File: dpuniverse-ini.php
SOURCE LOCATION: /config/dpuniverse-ini.php
File Overview
Provides named constants with global universe settings
Change these constants to match your desired configuration. These constants define the settings and behavious of "the universe". See dpserver-ini.php for settings dealing with the server related settings. DutchPIPE version 0.4; PHP version 5 LICENSE: This source file is subject to version 1.0 of the DutchPIPE license. If you did not receive a copy of the DutchPIPE license, you can obtain one at http://dutchpipe.org/license/1_0.txt or by sending a note to license@dutchpipe.org, in which case you will be mailed a copy immediately.
Constants
DPUNIVERSE_ACTION_DEFAULT_FAILURE [line 451]
DPUNIVERSE_ACTION_DEFAULT_FAILURE = dp_text('What? Enter <tt>help</tt> for a list of commands.<br />')
Default message for invalid commands
DPUNIVERSE_ADMINISTRATORS [line 506]
DPUNIVERSE_ADMINISTRATORS = 'Lennert'
Administrators registered user names separated by the # character
DPUNIVERSE_AVATAR_CUSTOM_ENABLED [line 327]
DPUNIVERSE_AVATAR_CUSTOM_ENABLED = TRUE
Are users allowed to upload their own avatar?
TRUE to enable, FALSE to disable. The GD library must be enabled on your PHP installation. This constant is ignored when GD is not enabled.
DPUNIVERSE_AVATAR_CUSTOM_GUEST_PATH [line 336]
DPUNIVERSE_AVATAR_CUSTOM_GUEST_PATH = DPUNIVERSE_IMAGE_PATH.'ava_cus_gst/'
Path to the publicly reachable custom avatar directory of guests
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_AVATAR_CUSTOM_GUEST_URL [line 346]
DPUNIVERSE_AVATAR_CUSTOM_GUEST_URL = DPUNIVERSE_IMAGE_URL.'ava_cus_gst/'
URL to the publicly reachable custom avatar directory of guests
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_AVATAR_CUSTOM_REG_PATH [line 356]
DPUNIVERSE_AVATAR_CUSTOM_REG_PATH = DPUNIVERSE_IMAGE_PATH.'ava_cus_reg/'
Path to the publicly reachable custom avatar directory of registered users
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_AVATAR_CUSTOM_REG_URL [line 366]
DPUNIVERSE_AVATAR_CUSTOM_REG_URL = DPUNIVERSE_IMAGE_URL.'ava_cus_reg/'
URL to the publicly reachable custom avatar directory of registered users
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_AVATAR_STD_PATH [line 310]
DPUNIVERSE_AVATAR_STD_PATH = DPUNIVERSE_IMAGE_PATH.'ava_std/'
Path to the publicly reachable standard avatar images directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_AVATAR_STD_URL [line 319]
DPUNIVERSE_AVATAR_STD_URL = DPUNIVERSE_IMAGE_URL.'ava_std/'
URL to the publicly reachable standard avatar images directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_BASE_PATH [line 216]
DPUNIVERSE_BASE_PATH = DPUNIVERSE_ROOT_PATH.'dpuniverse'
Path to the universe directory
Excludes trailing /, unlike DPUNIVERSE_PATH and other paths. Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_BOT_KICKTIME [line 479]
DPUNIVERSE_BOT_KICKTIME = 40
How many secs after a bot (e.g. Google searchbot) is thrown out
DPUNIVERSE_CAPTCHA_IMAGES_PATH [line 376]
DPUNIVERSE_CAPTCHA_IMAGES_PATH = DPUNIVERSE_SCRIPT_PATH.'captcha_images/'
Path to the directory with CAPTCHA images
:WARNING: This directory should NOT be web enabled for the public Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_ERROR_REPORTING [line 405]
DPUNIVERSE_ERROR_REPORTING = E_ALL|E_STRICT
Error reporting level
DPUNIVERSE_FILE_OWNER [line 172]
DPUNIVERSE_FILE_OWNER = 'dutchpipe'
File owner
What user owns the *NIX files and is running the server? Don't run DutchPIPE under "root". Windows users can ignore this.
DPUNIVERSE_IMAGE_PATH [line 292]
DPUNIVERSE_IMAGE_PATH = DPUNIVERSE_WWW_PATH.'images/'
Path to the publicly reachable web images directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_IMAGE_URL [line 301]
DPUNIVERSE_IMAGE_URL = DPUNIVERSE_WWW_URL.'images/'
URL to the publicly reachable web images directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_INCLUDE_PATH [line 263]
DPUNIVERSE_INCLUDE_PATH = '/include/'
Path to the universe's include directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_LIB_PATH [line 199]
DPUNIVERSE_LIB_PATH = DPUNIVERSE_ROOT_PATH.'lib/'
Path to the library directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_LINKDEATH_KICKTIME [line 460]
DPUNIVERSE_LINKDEATH_KICKTIME = 15
How many secs must be a connection be dead before a user is thrown out?
DPUNIVERSE_LINKDEATH_SHOWBOTTIME [line 489]
DPUNIVERSE_LINKDEATH_SHOWBOTTIME = 5
How many secs after a bit is thrown do we show a message
Bot may be destroyed when single other user enters that page.
DPUNIVERSE_LINKDEATH_SHOWMSGTIME [line 471]
DPUNIVERSE_LINKDEATH_SHOWMSGTIME = 5
How many secs after someone is thrown do we show a message?
The linkdeath user object may be destroyed when single other user enters that page.
DPUNIVERSE_MAX_RESETS [line 494]
DPUNIVERSE_MAX_RESETS = 10
Maximum number of objects to reset per "cycle"
DPUNIVERSE_MAX_USERNAME_LEN [line 428]
DPUNIVERSE_MAX_USERNAME_LEN = 12
Maximum registered user name length
DPUNIVERSE_MDB2_ENABLED [line 84]
DPUNIVERSE_MDB2_ENABLED = FALSE
Enable MDB2 database abstraction layer instead of using MySQL without it?
DPUNIVERSE_MDB2_PEAR_PATH [line 95]
DPUNIVERSE_MDB2_PEAR_PATH = ''
Path to PEAR installation
Leave empty if it is already in the include path, which is most likely the case.
DPUNIVERSE_MIN_USERNAME_LEN [line 421]
DPUNIVERSE_MIN_USERNAME_LEN = 3
Minimum registered user name length
DPUNIVERSE_MYSQL_DB [line 75]
DPUNIVERSE_MYSQL_DB = 'dutchpipe'
MySQL database name, "dutchpipe" by default
DPUNIVERSE_MYSQL_HOST [line 52]
DPUNIVERSE_MYSQL_HOST = ''
MySQL host
An empty string if MySQL is running on your local host is sufficient.
DPUNIVERSE_MYSQL_PASSWORD [line 67]
DPUNIVERSE_MYSQL_PASSWORD = '<yourpass>'
MySQL password
DPUNIVERSE_MYSQL_USER [line 60]
DPUNIVERSE_MYSQL_USER = '<youruser>'
MySQL user name
DPUNIVERSE_NAVLOGO [line 499]
DPUNIVERSE_NAVLOGO = sprintf(dp_text('<img src="%snavlogo.gif"
align="left" width="73" height="15" border="0" alt="DutchPIPE"
style="margin-top: 1px" />Home'),DPUNIVERSE_IMAGE_URL)
Used by DutchPIPE.org in the title bar
DPUNIVERSE_NPC_PATH [line 255]
DPUNIVERSE_NPC_PATH = '/npc/'
Path to the universe's NPC directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_OBJ_PATH [line 248]
DPUNIVERSE_OBJ_PATH = '/obj/'
Path to the universe's object directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_PAGE_PATH [line 234]
DPUNIVERSE_PAGE_PATH = '/page/'
Path to the universe's page directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_PATH [line 226]
DPUNIVERSE_PATH = DPUNIVERSE_BASE_PATH.'/'
Path to the universe directory
Includes trailing /, unlike DPUNIVERSE_BASE_PATH. Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_PREFIX_PATH [line 228]
DPUNIVERSE_PREFIX_PATH = DPUNIVERSE_BASE_PATH
DPUNIVERSE_RESET_CYCLE [line 414]
DPUNIVERSE_RESET_CYCLE = 3600
How many secs each cycle for resetDpObject to be called in objects
DPUNIVERSE_ROOT_PATH [line 192]
DPUNIVERSE_ROOT_PATH = realpath(dirname(__FILE__).'/..').'/'
Path to the root of the DutchPIPE installation
Defaults to the mother directory of the directory this file is in. Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_SCRIPT_PATH [line 206]
DPUNIVERSE_SCRIPT_PATH = DPUNIVERSE_ROOT_PATH.'script/'
Path to the script directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_STD_PATH [line 241]
DPUNIVERSE_STD_PATH = '/std/'
Path to the universe's standard building block directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_TEMPLATE_PATH [line 384]
DPUNIVERSE_TEMPLATE_PATH = DPUNIVERSE_ROOT_PATH.'template/'
Path to the directory with HTML templates
Leave this untouched if the DutchPIPE directory structure wasn't changed.
DPUNIVERSE_USERAGENT_MANDATORY [line 446]
DPUNIVERSE_USERAGENT_MANDATORY = TRUE
Is it mandatory for the browser to report a user agent string?
Every browser reports a user agent string to the web server, such as: "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" or "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4". Browsers which don't report such a string get an error message if this constant is set to TRUE. Usually, the only "browsers" with do not report a user agent string are harvest bots by spammers. However, it seems sometimes this leads to undesired effects, in which case you can set this constant to FALSE.
DPUNIVERSE_WWW_PATH [line 274]
DPUNIVERSE_WWW_PATH = DPUNIVERSE_ROOT_PATH.'public/'
Path to the publicly reachable web directory
The absolute path after the host name of the URL. If DutchPIPE is installed on http://www.example.com/, this path is /. On http://www.example.com/subdir/ it would be /subdir/.
DPUNIVERSE_WWW_URL [line 283]
DPUNIVERSE_WWW_URL = '/'
URL to the publicly reachable web directory
Leave this untouched if the DutchPIPE directory structure wasn't changed.
|
|