ZenphotoCMS 1.6.5

global-definitions.php

Global defintions of constants

Table of Contents

Constants

ADMIN_PLUGIN  = 4096
Defines the bitmask for load order priority of admin plugins
ALBUMFOLDER  = 'albums'
Defines the name of the albums folder
BACKUPFOLDER  = 'backup'
Defines the name of the backup folder
CACHEFOLDER  = 'cache'
Defines the name of the image cache folder
CASE_INSENSITIVE  = \file_exists(\dirname(__FILE__) . '/VERSION.PHP')
Defines if the server file system is case insensitive
CLASS_PLUGIN  = 8192
Defines the bitmask for load order priority of class plugins
COMMON_FOLDER  = \PLUGIN_FOLDER . '/common'
Defines the name of the shared "common" folder within/for core extensions
CONFIGFILE  = 'zenphoto.cfg.php'
Defines the name of the config file
DATA_FOLDER  = 'zp-data'
Defines the name of the zp-data folder outside the core folder
DEBUG_404  = isset($_zp_conf_vars['debug_404']) && $_zp_conf_vars['debug_404'] || \TEST_RELEASE
set to true to log 404 error processing debug information.
DEBUG_ERROR  = isset($_zp_conf_vars['debug_error']) && $_zp_conf_vars['debug_error'] || \TEST_RELEASE
set to true to supplies the calling sequence with zp_error messages
DEBUG_EXIF  = isset($_zp_conf_vars['debug_exif']) && $_zp_conf_vars['debug_exif']
set to true to log start/finish of exif processing. Useful to find problematic images.
DEBUG_FILTERS  = isset($_zp_conf_vars['debug_filters']) && $_zp_conf_vars['debug_filters']
set to true to log filter application sequence.
DEBUG_IMAGE  = isset($_zp_conf_vars['debug_image']) && $_zp_conf_vars['debug_image']
set to true to log image processing debug information.
DEBUG_IMAGE_ERR  = isset($_zp_conf_vars['debug_image_err']) && $_zp_conf_vars['debug_image_err'] || \TEST_RELEASE
set to true to flag image processing errors.
DEBUG_LOCALE  = isset($_zp_conf_vars['debug_locale']) && $_zp_conf_vars['debug_locale']
used for examining language selection problems
DEBUG_LOGIN  = isset($_zp_conf_vars['debug_login']) && $_zp_conf_vars['debug_login']
set to true to log admin saves and login attempts
DEBUG_PLUGINS  = isset($_zp_conf_vars['debug_plugins']) && $_zp_conf_vars['debug_plugins']
set to true to log plugin load sequence.
EXPLAIN_SELECTS  = isset($_zp_conf_vars['explain_selects']) && $_zp_conf_vars['explain_selects']
set to true to log the "EXPLAIN" of SELECT queries in the debug log
FEATURE_PLUGIN  = 2048
Defines the bitmask for load order priority of feature plugins
MUTEX_FOLDER  = '.mutex'
Defines the mutex folder
PLUGIN_FOLDER  = 'zp-extensions'
Defines the name of the core extensions folder
PLUGIN_PRIORITY  = 1023
Defines the bitmask for load order priority of standard plugins
SORT_FLAG_CASE  = 0
Defines sort flag case
SORT_NATURAL  = 0
Defines if sorting should be natural order
STATIC_CACHE_FOLDER  = "cache_html"
Defines the name of the html cache folder
SYMLINK  = \function_exists('symlink') && \strpos(@\ini_get("suhosin.executor.func.blacklist"), 'symlink') === \false
Defines if symlinks are supported on the server
TEST_RELEASE  = isset($_zp_conf_vars['test_release']) && $_zp_conf_vars['test_release'] || \preg_match('~-[^RC]~', \ZENPHOTO_VERSION)
Enables test release mode, supports the markRelease plugin
THEME_PLUGIN  = 1024
Defines the bitmask for load order priority of theme plugins
THEMEFOLDER  = 'themes'
Defines the name of the themes folder
UPLOAD_FOLDER  = 'uploaded'
Defines name of the non albums upload folder
USER_PLUGIN_FOLDER  = 'plugins'
Defines the user 3rd party plugin folder outside the Zenphoto core folder
UTILITIES_FOLDER  = 'utilities'
Defines the name of the core utlitlites folder
ZENFOLDER  = 'zp-core'
Defines the name of the Zenphoto core folder (zp-core)
ZP_LAST_MODIFIED  = \gmdate('D, d M Y H:i:s') . ' GMT'
Defines the date of the current session for use as a last modified date within the page header()

Constants

ADMIN_PLUGIN

Defines the bitmask for load order priority of admin plugins

public mixed ADMIN_PLUGIN = 4096

ALBUMFOLDER

Defines the name of the albums folder

public mixed ALBUMFOLDER = 'albums'

BACKUPFOLDER

Defines the name of the backup folder

public mixed BACKUPFOLDER = 'backup'

CACHEFOLDER

Defines the name of the image cache folder

public mixed CACHEFOLDER = 'cache'

CASE_INSENSITIVE

Defines if the server file system is case insensitive

public mixed CASE_INSENSITIVE = \file_exists(\dirname(__FILE__) . '/VERSION.PHP')

CLASS_PLUGIN

Defines the bitmask for load order priority of class plugins

public mixed CLASS_PLUGIN = 8192

COMMON_FOLDER

Defines the name of the shared "common" folder within/for core extensions

public mixed COMMON_FOLDER = \PLUGIN_FOLDER . '/common'

CONFIGFILE

Defines the name of the config file

public mixed CONFIGFILE = 'zenphoto.cfg.php'

DATA_FOLDER

Defines the name of the zp-data folder outside the core folder

public mixed DATA_FOLDER = 'zp-data'

DEBUG_404

set to true to log 404 error processing debug information.

public mixed DEBUG_404 = isset($_zp_conf_vars['debug_404']) && $_zp_conf_vars['debug_404'] || \TEST_RELEASE

DEBUG_ERROR

set to true to supplies the calling sequence with zp_error messages

public mixed DEBUG_ERROR = isset($_zp_conf_vars['debug_error']) && $_zp_conf_vars['debug_error'] || \TEST_RELEASE

DEBUG_EXIF

set to true to log start/finish of exif processing. Useful to find problematic images.

public mixed DEBUG_EXIF = isset($_zp_conf_vars['debug_exif']) && $_zp_conf_vars['debug_exif']

DEBUG_FILTERS

set to true to log filter application sequence.

public mixed DEBUG_FILTERS = isset($_zp_conf_vars['debug_filters']) && $_zp_conf_vars['debug_filters']

DEBUG_IMAGE

set to true to log image processing debug information.

public mixed DEBUG_IMAGE = isset($_zp_conf_vars['debug_image']) && $_zp_conf_vars['debug_image']

DEBUG_IMAGE_ERR

set to true to flag image processing errors.

public mixed DEBUG_IMAGE_ERR = isset($_zp_conf_vars['debug_image_err']) && $_zp_conf_vars['debug_image_err'] || \TEST_RELEASE

DEBUG_LOCALE

used for examining language selection problems

public mixed DEBUG_LOCALE = isset($_zp_conf_vars['debug_locale']) && $_zp_conf_vars['debug_locale']

DEBUG_LOGIN

set to true to log admin saves and login attempts

public mixed DEBUG_LOGIN = isset($_zp_conf_vars['debug_login']) && $_zp_conf_vars['debug_login']

DEBUG_PLUGINS

set to true to log plugin load sequence.

public mixed DEBUG_PLUGINS = isset($_zp_conf_vars['debug_plugins']) && $_zp_conf_vars['debug_plugins']

EXPLAIN_SELECTS

set to true to log the "EXPLAIN" of SELECT queries in the debug log

public mixed EXPLAIN_SELECTS = isset($_zp_conf_vars['explain_selects']) && $_zp_conf_vars['explain_selects']

FEATURE_PLUGIN

Defines the bitmask for load order priority of feature plugins

public mixed FEATURE_PLUGIN = 2048

PLUGIN_FOLDER

Defines the name of the core extensions folder

public mixed PLUGIN_FOLDER = 'zp-extensions'

PLUGIN_PRIORITY

Defines the bitmask for load order priority of standard plugins

public mixed PLUGIN_PRIORITY = 1023

SORT_NATURAL

Defines if sorting should be natural order

public mixed SORT_NATURAL = 0

STATIC_CACHE_FOLDER

Defines the name of the html cache folder

public mixed STATIC_CACHE_FOLDER = "cache_html"

Defines if symlinks are supported on the server

public mixed SYMLINK = \function_exists('symlink') && \strpos(@\ini_get("suhosin.executor.func.blacklist"), 'symlink') === \false

TEST_RELEASE

Enables test release mode, supports the markRelease plugin

public mixed TEST_RELEASE = isset($_zp_conf_vars['test_release']) && $_zp_conf_vars['test_release'] || \preg_match('~-[^RC]~', \ZENPHOTO_VERSION)

THEME_PLUGIN

Defines the bitmask for load order priority of theme plugins

public mixed THEME_PLUGIN = 1024

THEMEFOLDER

Defines the name of the themes folder

public mixed THEMEFOLDER = 'themes'

UPLOAD_FOLDER

Defines name of the non albums upload folder

public mixed UPLOAD_FOLDER = 'uploaded'

USER_PLUGIN_FOLDER

Defines the user 3rd party plugin folder outside the Zenphoto core folder

public mixed USER_PLUGIN_FOLDER = 'plugins'

UTILITIES_FOLDER

Defines the name of the core utlitlites folder

public mixed UTILITIES_FOLDER = 'utilities'

ZENFOLDER

Defines the name of the Zenphoto core folder (zp-core)

public mixed ZENFOLDER = 'zp-core'

ZP_LAST_MODIFIED

Defines the date of the current session for use as a last modified date within the page header()

public mixed ZP_LAST_MODIFIED = \gmdate('D, d M Y H:i:s') . ' GMT'

        
On this page

Search results