setup-primitive.php
These are the functions that setup needs before the database can be accessed (so it can't include functions.php because that will cause a database connect error.)
Table of Contents
Constants
- ADMIN_RIGHTS = 1
- FILESYSTEM_CHARSET = 'UTF-8'
- LOCAL_CHARSET = 'UTF-8'
- PROTOCOL = 'http'
- SERVERPATH = $_zp_setup_serverpath
- WEBPATH = $const_webpath
Functions
- getOption() : mixed
- setOption() : mixed
- setOptionDefault() : mixed
- debugLog() : mixed
- getRequestURI() : mixed
Constants
ADMIN_RIGHTS
public
mixed
ADMIN_RIGHTS
= 1
FILESYSTEM_CHARSET
public
mixed
FILESYSTEM_CHARSET
= 'UTF-8'
LOCAL_CHARSET
public
mixed
LOCAL_CHARSET
= 'UTF-8'
PROTOCOL
public
mixed
PROTOCOL
= 'http'
SERVERPATH
public
mixed
SERVERPATH
= $_zp_setup_serverpath
WEBPATH
public
mixed
WEBPATH
= $const_webpath
Functions
getOption()
getOption(mixed $key) : mixed
Parameters
- $key : mixed
setOption()
setOption(mixed $key, mixed $value[, mixed $persistent = true ]) : mixed
Parameters
- $key : mixed
- $value : mixed
- $persistent : mixed = true
setOptionDefault()
setOptionDefault(mixed $key, mixed $value) : mixed
Parameters
- $key : mixed
- $value : mixed
debugLog()
debugLog(mixed $message[, mixed $reset = false ]) : mixed
Parameters
- $message : mixed
- $reset : mixed = false
getRequestURI()
getRequestURI() : mixed