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
- 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
- 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'
FEATURE_PLUGIN
Defines the bitmask for load order priority of feature plugins
public
mixed
FEATURE_PLUGIN
= 2048
MUTEX_FOLDER
Defines the mutex folder
public
mixed
MUTEX_FOLDER
= '.mutex'
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_FLAG_CASE
Defines sort flag case
public
mixed
SORT_FLAG_CASE
= 0
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"
SYMLINK
Defines if symlinks are supported on the server
public
mixed
SYMLINK
= \function_exists('symlink') && \strpos(@\ini_get("suhosin.executor.func.blacklist"), 'symlink') === \false
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'