CONSTANTS.php
WIKINDX : Bibliographic Management system.
Tags
Table of Contents
Constants
- BR : mixed = "<br>"
- CONSTANTS
- CR : mixed = "\r"
- CRLF : mixed = "\r\n"
- LF : mixed = "\n"
- TAB : mixed = "\t"
- WIKINDX_ATOM_PAGE : mixed = '/index.php?action=rss_RSS_CORE&method=atom10'
- WIKINDX_BROWSEBIBLIOGRAPHY_DEFAULT : mixed = \FALSE
- WIKINDX_CHARSET : mixed = 'UTF-8'
- Default charset
- WIKINDX_CMS_PAGE : mixed = '/cmsprint.php'
- WIKINDX_COMPONENTS_COMPATIBLE_VERSION : mixed = [ 'plugin' => 20, // Must be an integer 'style'...
- Components compatibility
- WIKINDX_COMPONENTS_STYLE_JSON_FIRST_VERSION : mixed = 29
- First version of Json style components
- WIKINDX_COPYRIGHT_YEAR : mixed = "2003-2026"
- WIKINDX copyright
- WIKINDX_DB_CHARSET : mixed = 'utf8mb4'
- MySQL CHARSET/NAMES option
- WIKINDX_DB_COLLATION : mixed = 'utf8mb4_unicode_520_ci'
- MySQL COLLATE/COLLATION option
- WIKINDX_DB_ENGINE : mixed = 'InnoDB'
- MySQL engine option
- WIKINDX_DB_GROUP_CONCAT_MAX_LEN : mixed = 4294967295
- MySQL SESSION group_concat_max_len option
- WIKINDX_DB_MAX_ALLOWED_PACKET : mixed = 1073741824
- MySQL GLOBAL max_allowed_packet option
- WIKINDX_DB_SQL_MODE : mixed = 'TRADITIONAL'
- MySQL SESSION sql_mode option
- WIKINDX_DB_TIMEZONE : mixed = '+00:00'
- MySQL timezone option
- WIKINDX_DIR_BASE : mixed = \realpath(\implode(\DIRECTORY_SEPARATOR, [__DIR...
- WIKINDX_DIR_CACHE : mixed = 'cache'
- WIKINDX_DIR_CACHE_ATTACHMENTS : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CA...
- WIKINDX_DIR_CACHE_FILES : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CA...
- WIKINDX_DIR_CACHE_PLUGINS : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CA...
- WIKINDX_DIR_CACHE_STYLES : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CA...
- WIKINDX_DIR_CACHE_TEMPLATES : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CA...
- WIKINDX_DIR_COMPONENT : mixed = 'components'
- WIKINDX_DIR_COMPONENT_PLUGINS : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CO...
- WIKINDX_DIR_COMPONENT_STYLES : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CO...
- WIKINDX_DIR_COMPONENT_TEMPLATES : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CO...
- WIKINDX_DIR_CORE : mixed = 'core'
- WIKINDX_DIR_CORE_LANGUAGES : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CO...
- WIKINDX_DIR_DATA : mixed = 'data'
- WIKINDX_DIR_DATA_ATTACHMENTS : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_DA...
- WIKINDX_DIR_DATA_IMAGES : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_DA...
- WIKINDX_DIR_DATA_PLUGINS : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_DA...
- WIKINDX_DIR_DB_SCHEMA : mixed = 'dbschema'
- Root folder storing SQL Scripts used for a full db schema creation or an upgrades
- WIKINDX_DIR_DOCS : mixed = 'docs'
- PhpDocumentor default directory
- WIKINDX_DIR_LOG : mixed = 'log'
- Log files folder
- WIKINDX_DIR_PUBLIC : mixed = 'public'
- Folder of public files that can be directly called by a browser without checking permissions (usually JS and CSS files)
- WIKINDX_DISPLAY_CMS_LINK_DEFAULT : mixed = \FALSE
- WIKINDX_DISPLAY_RESOURCE_STATISTICS_DEFAULT : mixed = \FALSE
- WIKINDX_DOUBLEQUOTE_WIKINDX : mixed = 'WIKINDXDOUBLEQUOTEWIKINDX'
- Special constants used to do replacements required for SQL and similar.
- WIKINDX_FILE_ATTACH_SIZE_UPPER_LIMIT : mixed = 4000
- Max file size of an attachment
- WIKINDX_FILE_REPAIRKIT_DB_SCHEMA : mixed = \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_DB...
- Database schema description file for RepairKit component
- WIKINDX_HOMEBIB_DEFAULT : mixed = \FALSE
- WIKINDX_IMG_SIZE_UPPER_LIMIT : mixed = 200
- Max file size of an 8K 24 bits colors bmp image
- WIKINDX_INTERNAL_PUBLIC_VERSION_MAPPING : mixed = ["153" => "6.13.0", "151" => "6.12.1", "139" =>...
- WIKINDX internal-official/public version mapping
- WIKINDX_INTERNAL_VERSION : mixed = 158.0
- WIKINDX internal version information
- WIKINDX_INTERNAL_VERSION_UPGRADE_MIN : mixed = 5.1
- WIKINDX minimum internal version upgradable
- WIKINDX_LANGUAGE_DOMAIN_DEFAULT : mixed = 'wikindx'
- Translation domain name of the core part
- WIKINDX_LANGUAGE_NAME_DEFAULT : mixed = 'English (United Kingdom)'
- Default language
- WIKINDX_LDAP_DEBUG_LEVEL : mixed = 7
- WIKINDX_LDAP_GROUP_TYPE_FILTER : mixed = '(|(sAMAccountType=268435456)(sAMAccountType=26...
- WIKINDX_LDAP_SEARCH_METHOD_LIST : mixed = ['list' => 'list', 'tree' => 'tree']
- WIKINDX_LDAP_SEARCH_OPERATOR_LIST : mixed = ['or' => 'or', 'and' => 'and']
- WIKINDX_LDAP_SERVER_BIND_DOMAIN_FORMAT_LIST : mixed = ['none' => 'none', 'sam' => 'sam', 'upn' => 'upn']
- WIKINDX_LDAP_SERVER_BIND_TYPE_LIST : mixed = ['anonymous' => 'anonymous', 'binduser' => 'bin...
- WIKINDX_LDAP_SERVER_ENCRYPTION_LIST : mixed = ['none' => 'none', 'ssl' => 'ssl', 'starttls' =...
- WIKINDX_LDAP_SERVER_NETWORK_TIMEOUT : mixed = 10
- WIKINDX_LDAP_SERVER_RESPONSE_TIMEOUT : mixed = 15
- WIKINDX_LDAP_USE_REFERRALS : mixed = 0
- WIKINDX_LDAP_USER_ATTRIBUTE_EMAIL : mixed = 'mail'
- WIKINDX_LDAP_USER_ATTRIBUTE_FULLNAME : mixed = 'displayname'
- WIKINDX_LDAP_USER_ATTRIBUTE_LOGIN_LIST : mixed = ['CN' => 'CN', 'sAMAccountName' => 'sAMAccountN...
- WIKINDX_LDAP_USER_TYPE_FILTER : mixed = '(sAMAccountType=805306368)'
- WIKINDX_MARIADB_VERSION_MIN : mixed = '10.11'
- Minimum required PHP version
- WIKINDX_MAX_MULTIUPDATES : mixed = \WIKINDX_DB_MAX_ALLOWED_PACKET - 1000000
- This can be used to control the number of SET statements in SQL::multUpdate() and SQL::multiUpdateNull() statements by triggering the statement only when the number of bytes in the update array sent to the statement is larger than this constant.
- WIKINDX_MIMETYPE_ABW : mixed = 'application/x-abiword'
- WIKINDX_MIMETYPE_ATOM : mixed = 'application/atom+xml'
- WIKINDX_MIMETYPE_BIB : mixed = 'application/x-bibtex'
- WIKINDX_MIMETYPE_CSV : mixed = 'text/csv'
- WIKINDX_MIMETYPE_DJV : mixed = 'image/vnd.djvu'
- WIKINDX_MIMETYPE_DOC : mixed = 'application/msword'
- WIKINDX_MIMETYPE_DOCM : mixed = 'application/vnd.ms-word.document.macroEnabled.12'
- WIKINDX_MIMETYPE_DOCX : mixed = 'application/vnd.openxmlformats-officedocument....
- WIKINDX_MIMETYPE_DOTM : mixed = 'application/vnd.ms-word.template.macroEnabled.12'
- WIKINDX_MIMETYPE_DOTX : mixed = 'application/vnd.openxmlformats-officedocument....
- WIKINDX_MIMETYPE_DVI : mixed = 'application/x-dvi'
- WIKINDX_MIMETYPE_ENDNOTE : mixed = 'application/vnd.openxmlformats-officedocument....
- WIKINDX_MIMETYPE_EPUB : mixed = 'application/epub+zip'
- WIKINDX_MIMETYPE_FB : mixed = 'application/x-fictionbook'
- WIKINDX_MIMETYPE_HTML : mixed = 'text/html'
- WIKINDX_MIMETYPE_JS : mixed = 'application/javascript'
- WIKINDX_MIMETYPE_JSON : mixed = 'application/json'
- WIKINDX_MIMETYPE_KWD : mixed = 'application/vnd.kde.kword'
- WIKINDX_MIMETYPE_LWP : mixed = 'application/vnd.lotus-wordpro'
- WIKINDX_MIMETYPE_MD : mixed = 'text/markdown'
- WIKINDX_MIMETYPE_MHT_ALT : mixed = 'message/alternative'
- WIKINDX_MIMETYPE_MHT_APP : mixed = 'application/x-mimearchive'
- WIKINDX_MIMETYPE_MHT_MIX : mixed = 'message/mixed'
- WIKINDX_MIMETYPE_MHT_MUL : mixed = 'multipart/related'
- WIKINDX_MIMETYPE_MHT_RFC : mixed = 'message/rfc822'
- WIKINDX_MIMETYPE_ODP : mixed = 'application/vnd.oasis.opendocument.presentation'
- WIKINDX_MIMETYPE_ODT : mixed = 'application/vnd.oasis.opendocument.text'
- WIKINDX_MIMETYPE_OTP : mixed = 'application/vnd.oasis.opendocument.presentatio...
- WIKINDX_MIMETYPE_OTT : mixed = 'application/vnd.oasis.opendocument.text-template'
- WIKINDX_MIMETYPE_OXPS : mixed = 'application/oxps'
- WIKINDX_MIMETYPE_PDF : mixed = 'application/pdf'
- WIKINDX_MIMETYPE_PHP : mixed = 'application/x-httpd-php'
- WIKINDX_MIMETYPE_POTM : mixed = 'application/vnd.ms-powerpoint.template.macroEn...
- WIKINDX_MIMETYPE_POTX : mixed = 'application/vnd.openxmlformats-officedocument....
- WIKINDX_MIMETYPE_PPT : mixed = 'application/vnd.ms-powerpoint'
- WIKINDX_MIMETYPE_PPTM : mixed = 'application/vnd.ms-powerpoint.presentation.mac...
- WIKINDX_MIMETYPE_PPTX : mixed = 'application/vnd.openxmlformats-officedocument....
- WIKINDX_MIMETYPE_PS : mixed = 'application/postscript'
- WIKINDX_MIMETYPE_RIS : mixed = 'application/x-research-info-systems'
- WIKINDX_MIMETYPE_RSS : mixed = 'application/rss+xml'
- WIKINDX_MIMETYPE_RTF_APP : mixed = 'application/rtf'
- WIKINDX_MIMETYPE_RTF_TEXT : mixed = 'text/rtf'
- WIKINDX_MIMETYPE_SCRIBUS : mixed = 'application/vnd.scribus'
- WIKINDX_MIMETYPE_STI : mixed = 'application/vnd.sun.xml.impress.template'
- WIKINDX_MIMETYPE_STW : mixed = 'application/vnd.sun.xml.writer.template'
- WIKINDX_MIMETYPE_SXI : mixed = 'application/vnd.sun.xml.impress'
- WIKINDX_MIMETYPE_SXW : mixed = 'application/vnd.sun.xml.writer'
- WIKINDX_MIMETYPE_TEI : mixed = 'application/tei+xml'
- WIKINDX_MIMETYPE_TROFF : mixed = 'text/troff'
- WIKINDX_MIMETYPE_TXT : mixed = 'text/plain'
- WIKINDX_MIMETYPE_WML : mixed = 'text/vnd.wap.wml'
- WIKINDX_MIMETYPE_WMLC : mixed = 'application/vnd.wap.wmlc'
- WIKINDX_MIMETYPE_WPD : mixed = 'application/vnd.wordperfect'
- WIKINDX_MIMETYPE_WPD51 : mixed = 'application/wordperfect5.1'
- WIKINDX_MIMETYPE_WPS : mixed = 'application/vnd.ms-works'
- WIKINDX_MIMETYPE_WRI : mixed = 'application/mswrite'
- WIKINDX_MIMETYPE_XHTML : mixed = 'application/xml+html'
- WIKINDX_MIMETYPE_XML_APP : mixed = 'application/xml'
- WIKINDX_MIMETYPE_XML_TEXT : mixed = 'text/xml'
- WIKINDX_MIMETYPE_XPDF : mixed = 'application/x-pdf'
- WIKINDX_MIMETYPE_XPS : mixed = 'application/vnd.ms-xpsdocument'
- WIKINDX_MIMETYPE_ZIP : mixed = 'application/zip'
- WIKINDX_MYSQL_VERSION_MIN : mixed = '8.4.0'
- Minimum required PHP version
- WIKINDX_OFFICE_API_VERSION : mixed = 2
- Office add-ins API version
- WIKINDX_PACKAGE_HASH_ALGO : mixed = 'sha256'
- Algo used for hashing the packages released by the project
- WIKINDX_PHP_TIMEZONE : mixed = 'UTC'
- Timezone for PHP defaults
- WIKINDX_PHP_VERSION_MAX : mixed = '8.5.99'
- Maximum required PHP version
- WIKINDX_PHP_VERSION_MIN : mixed = '8.2.0'
- Minimum required PHP version
- WIKINDX_PHPMAILER_BACKENDS : mixed = ['smtp' => 'SMTP', 'sendmail' => 'Sendmail']
- WIKINDX_PHPMAILER_SMTP_AUTHTYPE : mixed = ['none' => 'None', '' => 'Auto', 'CRAM-MD5' =>...
- Mapping list of SMTP auth methods of PHPMailer with Wikindx options
- WIKINDX_PHPMAILER_SMTP_ENCRYPT : mixed = ['none' => 'none', 'tls' => 'tls', 'ssl' => 'ssl']
- Mapping list of SMTP encryption methods of PHPMailer with Wikindx options
- WIKINDX_POPULARITY_DOWNLOADS_WEIGHT : mixed = 0.75
- STATISTICS WEIGHTS
- WIKINDX_POPULARITY_VIEWS_WEIGHT : mixed = 0.25
- STATISTICS WEIGHTS
- WIKINDX_PUBLIC_VERSION : mixed = '6.16.1'
- WIKINDX official/public version information
- WIKINDX_RELEASE_DATE : mixed = "2026-05-11"
- WIKINDX release date
- WIKINDX_RELEASE_TIMESTAMP : mixed = (new \DateTime(\WIKINDX_RELEASE_DATE))->getTime...
- WIKINDX release timestamp
- WIKINDX_RSS_PAGE : mixed = '/index.php?action=rss_RSS_CORE&method=rss20'
- WIKINDX_SESSION_AUTH_MAXLIFETIME_UPPER_LIMIT : mixed = 86400
- WIKINDX_SESSION_AUTH_REMEMBERME_MAXLIFETIME_UPPER_LIMIT : mixed = 2678400
- WIKINDX_SESSION_GC_DIVISOR : mixed = 10
- WIKINDX_SESSION_GC_FREQUENCY : mixed = 300
- WIKINDX_SESSION_GC_MAXLIFETIME : mixed = 60
- WIKINDX_SESSION_GC_PROBABILITY : mixed = 1
- WIKINDX_SESSION_NAME : mixed = 'WKXSESSID'
- WIKINDX_SESSION_NOTAUTH_MAXLIFETIME_UPPER_LIMIT : mixed = 86400
- WIKINDX_SINGLEQUOTE_WIKINDX : mixed = 'WIKINDXSINGLEQUOTEWIKINDX'
- Special constants used to do replacements required for SQL and similar.
- WIKINDX_SITEMAP_MAX_SIZE : mixed = 500
- Max number of url by page in a sitemap (50000 max. allowed in the standard and 10 Mo max.)
- WIKINDX_SITEMAP_PAGE : mixed = '/index.php?action=sitemap_SITEMAP_CORE'
- URL of the website sitemap
- WIKINDX_SUPERADMIN_ID : mixed = 1
- WIKINDX_TAG_FACTOR_MAX : mixed = 200
- WIKINDX_TAG_FACTOR_MIN : mixed = 50
- WIKINDX_TAG_FACTOR_STEP : mixed = 5
- WIKINDX_TEMPLATE_MENU_DEFAULT : mixed = 0
- WIKINDX_UNIX_PERMS_DEFAULT : mixed = 0777
- WIKINDX_URL : mixed = 'https://wikindx.sourceforge.io'
- WIKINDX SF url
- WIKINDX_URL_CACHE : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_CACHE_ATTACHMENTS : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_CACHE_FILES : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_CACHE_PLUGINS : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_CACHE_STYLES : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_CACHE_TEMPLATES : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_COMPONENT : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_COMPONENT_PLUGINS : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_COMPONENT_STYLES : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_COMPONENT_TEMPLATES : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_DATA : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_DATA_ATTACHMENTS : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_DATA_IMAGES : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_DATA_PLUGINS : mixed = \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKIND...
- WIKINDX_URL_HELP_TOPICS : mixed = 'https://wikindx.sourceforge.io/web/' . \WIKIND...
- URL of the Help Topics on the website
- WIKINDX_USE_BIBTEX_KEY_DEFAULT : mixed = \FALSE
- WIKINDX_USE_WIKINDX_KEY_DEFAULT : mixed = \FALSE
- WIKINDX_USER_LANGUAGE_DEFAULT : mixed = 'auto'
- WIKINDX_USER_PAGING_DEFAULTLINKS : mixed = 11
- WIKINDX_USER_PAGING_DEFAULTPAGING : mixed = 20
- WIKINDX_USER_PAGING_MINLINKS : mixed = 4
- WIKINDX_USER_PAGING_MINPAGING : mixed = 2
- WIKINDX_USER_PAGING_STYLE_DEFAULT : mixed = 'N'
- WIKINDX_USER_STRING_MINLENGTH : mixed = 10
- WIKINDX_USER_TIMEZONE_DEFAULT : mixed = 'auto'
- WIKINDX_WP_DOCX_EXPORTER_VERSION : mixed = '1.0'
- WordProcessor Docx Exporter Version
Constants
BR
CONSTANTS
public
mixed
BR
= "<br>"
CR
public
mixed
CR
= "\r"
CRLF
public
mixed
CRLF
= "\r\n"
LF
public
mixed
LF
= "\n"
TAB
public
mixed
TAB
= "\t"
WIKINDX_ATOM_PAGE
public
mixed
WIKINDX_ATOM_PAGE
= '/index.php?action=rss_RSS_CORE&method=atom10'
WIKINDX_BROWSEBIBLIOGRAPHY_DEFAULT
public
mixed
WIKINDX_BROWSEBIBLIOGRAPHY_DEFAULT
= \FALSE
WIKINDX_CHARSET
Default charset
public
mixed
WIKINDX_CHARSET
= 'UTF-8'
Tags
WIKINDX_CMS_PAGE
public
mixed
WIKINDX_CMS_PAGE
= '/cmsprint.php'
WIKINDX_COMPONENTS_COMPATIBLE_VERSION
Components compatibility
public
mixed
WIKINDX_COMPONENTS_COMPATIBLE_VERSION
= [
'plugin' => 20,
// Must be an integer
'style' => 31,
// Must be an integer
'template' => 8,
]
This array is used by LOADPLUGINS class and \COMPONENT\checkComponentIntegrity() to check components compatibility with the core.
Each type of component has its own compatibility version because they do not have the same lifecycle.
Tags
WIKINDX_COMPONENTS_STYLE_JSON_FIRST_VERSION
First version of Json style components
public
mixed
WIKINDX_COMPONENTS_STYLE_JSON_FIRST_VERSION
= 29
After this version the style components are automatically updated on loading by class PARSESTYLEJSON.
Tags
WIKINDX_COPYRIGHT_YEAR
WIKINDX copyright
public
mixed
WIKINDX_COPYRIGHT_YEAR
= "2003-2026"
Tags
WIKINDX_DB_CHARSET
MySQL CHARSET/NAMES option
public
mixed
WIKINDX_DB_CHARSET
= 'utf8mb4'
Full UTF-8 support (4 bytes)
Tags
WIKINDX_DB_COLLATION
MySQL COLLATE/COLLATION option
public
mixed
WIKINDX_DB_COLLATION
= 'utf8mb4_unicode_520_ci'
Set the strictest SQL mode to avoid errors
Tags
WIKINDX_DB_ENGINE
MySQL engine option
public
mixed
WIKINDX_DB_ENGINE
= 'InnoDB'
Default storage engine
Tags
WIKINDX_DB_GROUP_CONCAT_MAX_LEN
MySQL SESSION group_concat_max_len option
public
mixed
WIKINDX_DB_GROUP_CONCAT_MAX_LEN
= 4294967295
Avoid truncation on search operations
NB: GROUP_CONCAT() misbehaves when group_concat_max_len is exactly 1073741824.
Tags
WIKINDX_DB_MAX_ALLOWED_PACKET
MySQL GLOBAL max_allowed_packet option
public
mixed
WIKINDX_DB_MAX_ALLOWED_PACKET
= 1073741824
Support the largest fields size used (LONGTEXT)
According to https://dev.mysql.com/doc/refman/8.0/en/blob.html, max_allowed_packet need to be as large as the largest type of column stored and we use LONGTEXT so we need the maximum value allowed 1G (in the absence of 4G).
Tags
WIKINDX_DB_SQL_MODE
MySQL SESSION sql_mode option
public
mixed
WIKINDX_DB_SQL_MODE
= 'TRADITIONAL'
Set the strictest SQL mode to avoid errors
Tags
WIKINDX_DB_TIMEZONE
MySQL timezone option
public
mixed
WIKINDX_DB_TIMEZONE
= '+00:00'
The database always stores data in UTC, and it is up to PHP to perform the conversion when necessary, depending on the global configuration and user preferences.
The "time difference" notation is preferred to the "time zone name" notation because the name resolution functionality is optional in the MySQL/MariaDB engine.
Tags
WIKINDX_DIR_BASE
public
mixed
WIKINDX_DIR_BASE
= \realpath(\implode(\DIRECTORY_SEPARATOR, [__DIR__, '..', '..']))
WIKINDX_DIR_CACHE
public
mixed
WIKINDX_DIR_CACHE
= 'cache'
WIKINDX_DIR_CACHE_ATTACHMENTS
public
mixed
WIKINDX_DIR_CACHE_ATTACHMENTS
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CACHE, 'attachments'])
WIKINDX_DIR_CACHE_FILES
public
mixed
WIKINDX_DIR_CACHE_FILES
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CACHE, 'files'])
WIKINDX_DIR_CACHE_PLUGINS
public
mixed
WIKINDX_DIR_CACHE_PLUGINS
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CACHE, 'plugins'])
WIKINDX_DIR_CACHE_STYLES
public
mixed
WIKINDX_DIR_CACHE_STYLES
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CACHE, 'styles'])
WIKINDX_DIR_CACHE_TEMPLATES
public
mixed
WIKINDX_DIR_CACHE_TEMPLATES
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CACHE, 'templates'])
WIKINDX_DIR_COMPONENT
public
mixed
WIKINDX_DIR_COMPONENT
= 'components'
WIKINDX_DIR_COMPONENT_PLUGINS
public
mixed
WIKINDX_DIR_COMPONENT_PLUGINS
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_COMPONENT, 'plugins'])
WIKINDX_DIR_COMPONENT_STYLES
public
mixed
WIKINDX_DIR_COMPONENT_STYLES
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_COMPONENT, 'styles'])
WIKINDX_DIR_COMPONENT_TEMPLATES
public
mixed
WIKINDX_DIR_COMPONENT_TEMPLATES
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_COMPONENT, 'templates'])
WIKINDX_DIR_CORE
public
mixed
WIKINDX_DIR_CORE
= 'core'
WIKINDX_DIR_CORE_LANGUAGES
public
mixed
WIKINDX_DIR_CORE_LANGUAGES
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_CORE, 'messages'])
WIKINDX_DIR_DATA
public
mixed
WIKINDX_DIR_DATA
= 'data'
WIKINDX_DIR_DATA_ATTACHMENTS
public
mixed
WIKINDX_DIR_DATA_ATTACHMENTS
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_DATA, 'attachments'])
WIKINDX_DIR_DATA_IMAGES
public
mixed
WIKINDX_DIR_DATA_IMAGES
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_DATA, 'images'])
WIKINDX_DIR_DATA_PLUGINS
public
mixed
WIKINDX_DIR_DATA_PLUGINS
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_DATA, 'plugins'])
WIKINDX_DIR_DB_SCHEMA
Root folder storing SQL Scripts used for a full db schema creation or an upgrades
public
mixed
WIKINDX_DIR_DB_SCHEMA
= 'dbschema'
Tags
WIKINDX_DIR_DOCS
PhpDocumentor default directory
public
mixed
WIKINDX_DIR_DOCS
= 'docs'
Tags
WIKINDX_DIR_LOG
Log files folder
public
mixed
WIKINDX_DIR_LOG
= 'log'
Tags
WIKINDX_DIR_PUBLIC
Folder of public files that can be directly called by a browser without checking permissions (usually JS and CSS files)
public
mixed
WIKINDX_DIR_PUBLIC
= 'public'
Tags
WIKINDX_DISPLAY_CMS_LINK_DEFAULT
public
mixed
WIKINDX_DISPLAY_CMS_LINK_DEFAULT
= \FALSE
WIKINDX_DISPLAY_RESOURCE_STATISTICS_DEFAULT
public
mixed
WIKINDX_DISPLAY_RESOURCE_STATISTICS_DEFAULT
= \FALSE
WIKINDX_DOUBLEQUOTE_WIKINDX
Special constants used to do replacements required for SQL and similar.
public
mixed
WIKINDX_DOUBLEQUOTE_WIKINDX
= 'WIKINDXDOUBLEQUOTEWIKINDX'
Typically used to temporarily replace literal characters in strings to protect them from incorrect interpretation.
Tags
WIKINDX_FILE_ATTACH_SIZE_UPPER_LIMIT
Max file size of an attachment
public
mixed
WIKINDX_FILE_ATTACH_SIZE_UPPER_LIMIT
= 4000
Tags
WIKINDX_FILE_REPAIRKIT_DB_SCHEMA
Database schema description file for RepairKit component
public
mixed
WIKINDX_FILE_REPAIRKIT_DB_SCHEMA
= \implode(\DIRECTORY_SEPARATOR, [\WIKINDX_DIR_DB_SCHEMA, 'repairkit.schema.json'])
Tags
WIKINDX_HOMEBIB_DEFAULT
public
mixed
WIKINDX_HOMEBIB_DEFAULT
= \FALSE
WIKINDX_IMG_SIZE_UPPER_LIMIT
Max file size of an 8K 24 bits colors bmp image
public
mixed
WIKINDX_IMG_SIZE_UPPER_LIMIT
= 200
Tags
WIKINDX_INTERNAL_PUBLIC_VERSION_MAPPING
WIKINDX internal-official/public version mapping
public
mixed
WIKINDX_INTERNAL_PUBLIC_VERSION_MAPPING
= ["153" => "6.13.0", "151" => "6.12.1", "139" => "6.12.0", "138" => "6.11.0", "128" => "6.8.0", "114" => "6.7.1", "113" => "6.6.8", "112" => "6.6.6", "111" => "6.6.4", "74" => "6.6.0", "73" => "6.4.14", "72" => "6.4.11", "70" => "6.4.10", "65" => "6.4.9", "59" => "6.4.8", "57" => "6.4.7", "55" => "6.4.6", "54" => "6.4.5", "46" => "6.4.4", "42" => "6.4.2", "38" => "6.4.1", "23" => "6.4.0", "15" => "6.3.8", "12" => "6.2.2", "11" => "6.2.1", "10" => "6.0.8", "9" => "6.0.6", "8" => "6.0.5", "7" => "6.0.4", "6" => "6.0.0", "5.9" => "5.9.1", "5.8" => "5.8.2", "5.5" => "5.7.0", "5.4" => "5.3.1", "5.3" => "5.2.2", "5.2" => "5.2.0", "5.1" => "5.1"]
This array (internal version => "public version", ...) is used to find the minimum public version upgraded by an internal version.
Add an entry when an internal version is added, but if you have to add many internal versions for a single public version, add only the lowest.
Tags
WIKINDX_INTERNAL_VERSION
WIKINDX internal version information
public
mixed
WIKINDX_INTERNAL_VERSION
= 158.0
This number MUST be a positive integer (written as a float), and should be incremented by one each time an upgrade need to be triggered. Before the value 6, this number was a float corresponding (or not) to part X.Y of the public version number.
Tags
WIKINDX_INTERNAL_VERSION_UPGRADE_MIN
WIKINDX minimum internal version upgradable
public
mixed
WIKINDX_INTERNAL_VERSION_UPGRADE_MIN
= 5.1
The syntax is the same as for WIKINDX_INTERNAL_VERSION.
A database with a lower version number cannot be upgraded.
Tags
WIKINDX_LANGUAGE_DOMAIN_DEFAULT
Translation domain name of the core part
public
mixed
WIKINDX_LANGUAGE_DOMAIN_DEFAULT
= 'wikindx'
WIKINDX_LANGUAGE_NAME_DEFAULT
Default language
public
mixed
WIKINDX_LANGUAGE_NAME_DEFAULT
= 'English (United Kingdom)'
WIKINDX_LDAP_DEBUG_LEVEL
public
mixed
WIKINDX_LDAP_DEBUG_LEVEL
= 7
WIKINDX_LDAP_GROUP_TYPE_FILTER
public
mixed
WIKINDX_LDAP_GROUP_TYPE_FILTER
= '(|(sAMAccountType=268435456)(sAMAccountType=268435457))'
WIKINDX_LDAP_SEARCH_METHOD_LIST
public
mixed
WIKINDX_LDAP_SEARCH_METHOD_LIST
= ['list' => 'list', 'tree' => 'tree']
WIKINDX_LDAP_SEARCH_OPERATOR_LIST
public
mixed
WIKINDX_LDAP_SEARCH_OPERATOR_LIST
= ['or' => 'or', 'and' => 'and']
WIKINDX_LDAP_SERVER_BIND_DOMAIN_FORMAT_LIST
public
mixed
WIKINDX_LDAP_SERVER_BIND_DOMAIN_FORMAT_LIST
= ['none' => 'none', 'sam' => 'sam', 'upn' => 'upn']
WIKINDX_LDAP_SERVER_BIND_TYPE_LIST
public
mixed
WIKINDX_LDAP_SERVER_BIND_TYPE_LIST
= ['anonymous' => 'anonymous', 'binduser' => 'binduser', 'user' => 'user']
WIKINDX_LDAP_SERVER_ENCRYPTION_LIST
public
mixed
WIKINDX_LDAP_SERVER_ENCRYPTION_LIST
= ['none' => 'none', 'ssl' => 'ssl', 'starttls' => 'starttls']
WIKINDX_LDAP_SERVER_NETWORK_TIMEOUT
public
mixed
WIKINDX_LDAP_SERVER_NETWORK_TIMEOUT
= 10
WIKINDX_LDAP_SERVER_RESPONSE_TIMEOUT
public
mixed
WIKINDX_LDAP_SERVER_RESPONSE_TIMEOUT
= 15
WIKINDX_LDAP_USE_REFERRALS
public
mixed
WIKINDX_LDAP_USE_REFERRALS
= 0
WIKINDX_LDAP_USER_ATTRIBUTE_EMAIL
public
mixed
WIKINDX_LDAP_USER_ATTRIBUTE_EMAIL
= 'mail'
WIKINDX_LDAP_USER_ATTRIBUTE_FULLNAME
public
mixed
WIKINDX_LDAP_USER_ATTRIBUTE_FULLNAME
= 'displayname'
WIKINDX_LDAP_USER_ATTRIBUTE_LOGIN_LIST
public
mixed
WIKINDX_LDAP_USER_ATTRIBUTE_LOGIN_LIST
= ['CN' => 'CN', 'sAMAccountName' => 'sAMAccountName', 'uid' => 'uid', 'userPrincipalName' => 'userPrincipalName']
WIKINDX_LDAP_USER_TYPE_FILTER
public
mixed
WIKINDX_LDAP_USER_TYPE_FILTER
= '(sAMAccountType=805306368)'
WIKINDX_MARIADB_VERSION_MIN
Minimum required PHP version
public
mixed
WIKINDX_MARIADB_VERSION_MIN
= '10.11'
Tags
WIKINDX_MAX_MULTIUPDATES
This can be used to control the number of SET statements in SQL::multUpdate() and SQL::multiUpdateNull() statements by triggering the statement only when the number of bytes in the update array sent to the statement is larger than this constant.
public
mixed
WIKINDX_MAX_MULTIUPDATES
= \WIKINDX_DB_MAX_ALLOWED_PACKET - 1000000
1_000_000 bytes is a sensible margin.
Tags
WIKINDX_MIMETYPE_ABW
public
mixed
WIKINDX_MIMETYPE_ABW
= 'application/x-abiword'
WIKINDX_MIMETYPE_ATOM
public
mixed
WIKINDX_MIMETYPE_ATOM
= 'application/atom+xml'
WIKINDX_MIMETYPE_BIB
public
mixed
WIKINDX_MIMETYPE_BIB
= 'application/x-bibtex'
WIKINDX_MIMETYPE_CSV
public
mixed
WIKINDX_MIMETYPE_CSV
= 'text/csv'
WIKINDX_MIMETYPE_DJV
public
mixed
WIKINDX_MIMETYPE_DJV
= 'image/vnd.djvu'
WIKINDX_MIMETYPE_DOC
public
mixed
WIKINDX_MIMETYPE_DOC
= 'application/msword'
WIKINDX_MIMETYPE_DOCM
public
mixed
WIKINDX_MIMETYPE_DOCM
= 'application/vnd.ms-word.document.macroEnabled.12'
WIKINDX_MIMETYPE_DOCX
public
mixed
WIKINDX_MIMETYPE_DOCX
= 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
WIKINDX_MIMETYPE_DOTM
public
mixed
WIKINDX_MIMETYPE_DOTM
= 'application/vnd.ms-word.template.macroEnabled.12'
WIKINDX_MIMETYPE_DOTX
public
mixed
WIKINDX_MIMETYPE_DOTX
= 'application/vnd.openxmlformats-officedocument.wordprocessingml.template'
WIKINDX_MIMETYPE_DVI
public
mixed
WIKINDX_MIMETYPE_DVI
= 'application/x-dvi'
WIKINDX_MIMETYPE_ENDNOTE
public
mixed
WIKINDX_MIMETYPE_ENDNOTE
= 'application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml'
WIKINDX_MIMETYPE_EPUB
public
mixed
WIKINDX_MIMETYPE_EPUB
= 'application/epub+zip'
WIKINDX_MIMETYPE_FB
public
mixed
WIKINDX_MIMETYPE_FB
= 'application/x-fictionbook'
WIKINDX_MIMETYPE_HTML
public
mixed
WIKINDX_MIMETYPE_HTML
= 'text/html'
WIKINDX_MIMETYPE_JS
public
mixed
WIKINDX_MIMETYPE_JS
= 'application/javascript'
WIKINDX_MIMETYPE_JSON
public
mixed
WIKINDX_MIMETYPE_JSON
= 'application/json'
WIKINDX_MIMETYPE_KWD
public
mixed
WIKINDX_MIMETYPE_KWD
= 'application/vnd.kde.kword'
WIKINDX_MIMETYPE_LWP
public
mixed
WIKINDX_MIMETYPE_LWP
= 'application/vnd.lotus-wordpro'
WIKINDX_MIMETYPE_MD
public
mixed
WIKINDX_MIMETYPE_MD
= 'text/markdown'
WIKINDX_MIMETYPE_MHT_ALT
public
mixed
WIKINDX_MIMETYPE_MHT_ALT
= 'message/alternative'
WIKINDX_MIMETYPE_MHT_APP
public
mixed
WIKINDX_MIMETYPE_MHT_APP
= 'application/x-mimearchive'
WIKINDX_MIMETYPE_MHT_MIX
public
mixed
WIKINDX_MIMETYPE_MHT_MIX
= 'message/mixed'
WIKINDX_MIMETYPE_MHT_MUL
public
mixed
WIKINDX_MIMETYPE_MHT_MUL
= 'multipart/related'
WIKINDX_MIMETYPE_MHT_RFC
public
mixed
WIKINDX_MIMETYPE_MHT_RFC
= 'message/rfc822'
WIKINDX_MIMETYPE_ODP
public
mixed
WIKINDX_MIMETYPE_ODP
= 'application/vnd.oasis.opendocument.presentation'
WIKINDX_MIMETYPE_ODT
public
mixed
WIKINDX_MIMETYPE_ODT
= 'application/vnd.oasis.opendocument.text'
WIKINDX_MIMETYPE_OTP
public
mixed
WIKINDX_MIMETYPE_OTP
= 'application/vnd.oasis.opendocument.presentation-template'
WIKINDX_MIMETYPE_OTT
public
mixed
WIKINDX_MIMETYPE_OTT
= 'application/vnd.oasis.opendocument.text-template'
WIKINDX_MIMETYPE_OXPS
public
mixed
WIKINDX_MIMETYPE_OXPS
= 'application/oxps'
WIKINDX_MIMETYPE_PDF
public
mixed
WIKINDX_MIMETYPE_PDF
= 'application/pdf'
WIKINDX_MIMETYPE_PHP
public
mixed
WIKINDX_MIMETYPE_PHP
= 'application/x-httpd-php'
WIKINDX_MIMETYPE_POTM
public
mixed
WIKINDX_MIMETYPE_POTM
= 'application/vnd.ms-powerpoint.template.macroEnabled.12'
WIKINDX_MIMETYPE_POTX
public
mixed
WIKINDX_MIMETYPE_POTX
= 'application/vnd.openxmlformats-officedocument.presentationml.template'
WIKINDX_MIMETYPE_PPT
public
mixed
WIKINDX_MIMETYPE_PPT
= 'application/vnd.ms-powerpoint'
WIKINDX_MIMETYPE_PPTM
public
mixed
WIKINDX_MIMETYPE_PPTM
= 'application/vnd.ms-powerpoint.presentation.macroEnabled.12'
WIKINDX_MIMETYPE_PPTX
public
mixed
WIKINDX_MIMETYPE_PPTX
= 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
WIKINDX_MIMETYPE_PS
public
mixed
WIKINDX_MIMETYPE_PS
= 'application/postscript'
WIKINDX_MIMETYPE_RIS
public
mixed
WIKINDX_MIMETYPE_RIS
= 'application/x-research-info-systems'
WIKINDX_MIMETYPE_RSS
public
mixed
WIKINDX_MIMETYPE_RSS
= 'application/rss+xml'
WIKINDX_MIMETYPE_RTF_APP
public
mixed
WIKINDX_MIMETYPE_RTF_APP
= 'application/rtf'
WIKINDX_MIMETYPE_RTF_TEXT
public
mixed
WIKINDX_MIMETYPE_RTF_TEXT
= 'text/rtf'
WIKINDX_MIMETYPE_SCRIBUS
public
mixed
WIKINDX_MIMETYPE_SCRIBUS
= 'application/vnd.scribus'
WIKINDX_MIMETYPE_STI
public
mixed
WIKINDX_MIMETYPE_STI
= 'application/vnd.sun.xml.impress.template'
WIKINDX_MIMETYPE_STW
public
mixed
WIKINDX_MIMETYPE_STW
= 'application/vnd.sun.xml.writer.template'
WIKINDX_MIMETYPE_SXI
public
mixed
WIKINDX_MIMETYPE_SXI
= 'application/vnd.sun.xml.impress'
WIKINDX_MIMETYPE_SXW
public
mixed
WIKINDX_MIMETYPE_SXW
= 'application/vnd.sun.xml.writer'
WIKINDX_MIMETYPE_TEI
public
mixed
WIKINDX_MIMETYPE_TEI
= 'application/tei+xml'
WIKINDX_MIMETYPE_TROFF
public
mixed
WIKINDX_MIMETYPE_TROFF
= 'text/troff'
WIKINDX_MIMETYPE_TXT
public
mixed
WIKINDX_MIMETYPE_TXT
= 'text/plain'
WIKINDX_MIMETYPE_WML
public
mixed
WIKINDX_MIMETYPE_WML
= 'text/vnd.wap.wml'
WIKINDX_MIMETYPE_WMLC
public
mixed
WIKINDX_MIMETYPE_WMLC
= 'application/vnd.wap.wmlc'
WIKINDX_MIMETYPE_WPD
public
mixed
WIKINDX_MIMETYPE_WPD
= 'application/vnd.wordperfect'
WIKINDX_MIMETYPE_WPD51
public
mixed
WIKINDX_MIMETYPE_WPD51
= 'application/wordperfect5.1'
WIKINDX_MIMETYPE_WPS
public
mixed
WIKINDX_MIMETYPE_WPS
= 'application/vnd.ms-works'
WIKINDX_MIMETYPE_WRI
public
mixed
WIKINDX_MIMETYPE_WRI
= 'application/mswrite'
WIKINDX_MIMETYPE_XHTML
public
mixed
WIKINDX_MIMETYPE_XHTML
= 'application/xml+html'
WIKINDX_MIMETYPE_XML_APP
public
mixed
WIKINDX_MIMETYPE_XML_APP
= 'application/xml'
WIKINDX_MIMETYPE_XML_TEXT
public
mixed
WIKINDX_MIMETYPE_XML_TEXT
= 'text/xml'
WIKINDX_MIMETYPE_XPDF
public
mixed
WIKINDX_MIMETYPE_XPDF
= 'application/x-pdf'
WIKINDX_MIMETYPE_XPS
public
mixed
WIKINDX_MIMETYPE_XPS
= 'application/vnd.ms-xpsdocument'
WIKINDX_MIMETYPE_ZIP
public
mixed
WIKINDX_MIMETYPE_ZIP
= 'application/zip'
WIKINDX_MYSQL_VERSION_MIN
Minimum required PHP version
public
mixed
WIKINDX_MYSQL_VERSION_MIN
= '8.4.0'
Tags
WIKINDX_OFFICE_API_VERSION
Office add-ins API version
public
mixed
WIKINDX_OFFICE_API_VERSION
= 2
In each add-in (Word, Google Docs, LibreOffice etc.) the compatibility variable must equal this.
Tags
WIKINDX_PACKAGE_HASH_ALGO
Algo used for hashing the packages released by the project
public
mixed
WIKINDX_PACKAGE_HASH_ALGO
= 'sha256'
Tags
WIKINDX_PHP_TIMEZONE
Timezone for PHP defaults
public
mixed
WIKINDX_PHP_TIMEZONE
= 'UTC'
Just like the database (see WIKINDX_DB_TIMEZONE), PHP is configured by default to use UTC.
It is the responsibility of the display or form processing code to convert UTC dates to the user's preferred timezone (and vice versa), or failing that, the one defined by the administrator.
Use \DATE\determine_timezone() to get the user preferred timezone.
Tags
WIKINDX_PHP_VERSION_MAX
Maximum required PHP version
public
mixed
WIKINDX_PHP_VERSION_MAX
= '8.5.99'
Tags
WIKINDX_PHP_VERSION_MIN
Minimum required PHP version
public
mixed
WIKINDX_PHP_VERSION_MIN
= '8.2.0'
Tags
WIKINDX_PHPMAILER_BACKENDS
public
mixed
WIKINDX_PHPMAILER_BACKENDS
= ['smtp' => 'SMTP', 'sendmail' => 'Sendmail']
WIKINDX_PHPMAILER_SMTP_AUTHTYPE
Mapping list of SMTP auth methods of PHPMailer with Wikindx options
public
mixed
WIKINDX_PHPMAILER_SMTP_AUTHTYPE
= ['none' => 'None', '' => 'Auto', 'CRAM-MD5' => 'CRAM-MD5', 'LOGIN' => 'LOGIN', 'PLAIN' => 'PLAIN']
NB: 'None' is used for PHPMailer\PHPMailer->SMTPAuth and others for PHPMailer\SMTP->AuthType.
Tags
WIKINDX_PHPMAILER_SMTP_ENCRYPT
Mapping list of SMTP encryption methods of PHPMailer with Wikindx options
public
mixed
WIKINDX_PHPMAILER_SMTP_ENCRYPT
= ['none' => 'none', 'tls' => 'tls', 'ssl' => 'ssl']
Tags
WIKINDX_POPULARITY_DOWNLOADS_WEIGHT
STATISTICS WEIGHTS
public
mixed
WIKINDX_POPULARITY_DOWNLOADS_WEIGHT
= 0.75
This value is relative to WIKINDX_POPULARITY_VIEWS_WEIGHT and should total 1.0.
Tags
WIKINDX_POPULARITY_VIEWS_WEIGHT
STATISTICS WEIGHTS
public
mixed
WIKINDX_POPULARITY_VIEWS_WEIGHT
= 0.25
This value is relative to WIKINDX_POPULARITY_DOWNLOADS_WEIGHT and should total 1.0.
Tags
WIKINDX_PUBLIC_VERSION
WIKINDX official/public version information
public
mixed
WIKINDX_PUBLIC_VERSION
= '6.16.1'
This number is the official release version used by the update server to download the components.
It can be of the form X.Y.Z or X.Y.Z-rcN (with X, Y, Z, and N positive integers).
Tags
WIKINDX_RELEASE_DATE
WIKINDX release date
public
mixed
WIKINDX_RELEASE_DATE
= "2026-05-11"
Tags
WIKINDX_RELEASE_TIMESTAMP
WIKINDX release timestamp
public
mixed
WIKINDX_RELEASE_TIMESTAMP
= (new \DateTime(\WIKINDX_RELEASE_DATE))->getTimestamp()
The release script use it to change the date of files and make archives reproducible.
Tags
WIKINDX_RSS_PAGE
public
mixed
WIKINDX_RSS_PAGE
= '/index.php?action=rss_RSS_CORE&method=rss20'
WIKINDX_SESSION_AUTH_MAXLIFETIME_UPPER_LIMIT
public
mixed
WIKINDX_SESSION_AUTH_MAXLIFETIME_UPPER_LIMIT
= 86400
WIKINDX_SESSION_AUTH_REMEMBERME_MAXLIFETIME_UPPER_LIMIT
public
mixed
WIKINDX_SESSION_AUTH_REMEMBERME_MAXLIFETIME_UPPER_LIMIT
= 2678400
WIKINDX_SESSION_GC_DIVISOR
public
mixed
WIKINDX_SESSION_GC_DIVISOR
= 10
WIKINDX_SESSION_GC_FREQUENCY
public
mixed
WIKINDX_SESSION_GC_FREQUENCY
= 300
WIKINDX_SESSION_GC_MAXLIFETIME
public
mixed
WIKINDX_SESSION_GC_MAXLIFETIME
= 60
WIKINDX_SESSION_GC_PROBABILITY
public
mixed
WIKINDX_SESSION_GC_PROBABILITY
= 1
WIKINDX_SESSION_NAME
public
mixed
WIKINDX_SESSION_NAME
= 'WKXSESSID'
WIKINDX_SESSION_NOTAUTH_MAXLIFETIME_UPPER_LIMIT
public
mixed
WIKINDX_SESSION_NOTAUTH_MAXLIFETIME_UPPER_LIMIT
= 86400
WIKINDX_SINGLEQUOTE_WIKINDX
Special constants used to do replacements required for SQL and similar.
public
mixed
WIKINDX_SINGLEQUOTE_WIKINDX
= 'WIKINDXSINGLEQUOTEWIKINDX'
Typically used to temporarily replace literal characters in strings to protect them from incorrect interpretation.
Tags
WIKINDX_SITEMAP_MAX_SIZE
Max number of url by page in a sitemap (50000 max. allowed in the standard and 10 Mo max.)
public
mixed
WIKINDX_SITEMAP_MAX_SIZE
= 500
For a response time and analysis of the response 500 links per page seems reasonable, ie below the second, as the search engines expect..
Tags
WIKINDX_SITEMAP_PAGE
URL of the website sitemap
public
mixed
WIKINDX_SITEMAP_PAGE
= '/index.php?action=sitemap_SITEMAP_CORE'
Tags
WIKINDX_SUPERADMIN_ID
public
mixed
WIKINDX_SUPERADMIN_ID
= 1
WIKINDX_TAG_FACTOR_MAX
public
mixed
WIKINDX_TAG_FACTOR_MAX
= 200
WIKINDX_TAG_FACTOR_MIN
public
mixed
WIKINDX_TAG_FACTOR_MIN
= 50
WIKINDX_TAG_FACTOR_STEP
public
mixed
WIKINDX_TAG_FACTOR_STEP
= 5
WIKINDX_TEMPLATE_MENU_DEFAULT
public
mixed
WIKINDX_TEMPLATE_MENU_DEFAULT
= 0
WIKINDX_UNIX_PERMS_DEFAULT
public
mixed
WIKINDX_UNIX_PERMS_DEFAULT
= 0777
WIKINDX_URL
WIKINDX SF url
public
mixed
WIKINDX_URL
= 'https://wikindx.sourceforge.io'
Tags
WIKINDX_URL_CACHE
public
mixed
WIKINDX_URL_CACHE
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_CACHE)
WIKINDX_URL_CACHE_ATTACHMENTS
public
mixed
WIKINDX_URL_CACHE_ATTACHMENTS
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_CACHE_ATTACHMENTS)
WIKINDX_URL_CACHE_FILES
public
mixed
WIKINDX_URL_CACHE_FILES
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_CACHE_FILES)
WIKINDX_URL_CACHE_PLUGINS
public
mixed
WIKINDX_URL_CACHE_PLUGINS
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_CACHE_PLUGINS)
WIKINDX_URL_CACHE_STYLES
public
mixed
WIKINDX_URL_CACHE_STYLES
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_CACHE_STYLES)
WIKINDX_URL_CACHE_TEMPLATES
public
mixed
WIKINDX_URL_CACHE_TEMPLATES
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_CACHE_TEMPLATES)
WIKINDX_URL_COMPONENT
public
mixed
WIKINDX_URL_COMPONENT
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_COMPONENT)
WIKINDX_URL_COMPONENT_PLUGINS
public
mixed
WIKINDX_URL_COMPONENT_PLUGINS
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_COMPONENT_PLUGINS)
WIKINDX_URL_COMPONENT_STYLES
public
mixed
WIKINDX_URL_COMPONENT_STYLES
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_COMPONENT_STYLES)
WIKINDX_URL_COMPONENT_TEMPLATES
public
mixed
WIKINDX_URL_COMPONENT_TEMPLATES
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_COMPONENT_TEMPLATES)
WIKINDX_URL_DATA
public
mixed
WIKINDX_URL_DATA
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_DATA)
WIKINDX_URL_DATA_ATTACHMENTS
public
mixed
WIKINDX_URL_DATA_ATTACHMENTS
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_DATA_ATTACHMENTS)
WIKINDX_URL_DATA_IMAGES
public
mixed
WIKINDX_URL_DATA_IMAGES
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_DATA_IMAGES)
WIKINDX_URL_DATA_PLUGINS
public
mixed
WIKINDX_URL_DATA_PLUGINS
= \str_replace(\DIRECTORY_SEPARATOR, "/", \WIKINDX_DIR_DATA_PLUGINS)
WIKINDX_URL_HELP_TOPICS
URL of the Help Topics on the website
public
mixed
WIKINDX_URL_HELP_TOPICS
= 'https://wikindx.sourceforge.io/web/' . \WIKINDX_PUBLIC_VERSION . '/help-topics'
Tags
WIKINDX_USE_BIBTEX_KEY_DEFAULT
public
mixed
WIKINDX_USE_BIBTEX_KEY_DEFAULT
= \FALSE
WIKINDX_USE_WIKINDX_KEY_DEFAULT
public
mixed
WIKINDX_USE_WIKINDX_KEY_DEFAULT
= \FALSE
WIKINDX_USER_LANGUAGE_DEFAULT
public
mixed
WIKINDX_USER_LANGUAGE_DEFAULT
= 'auto'
WIKINDX_USER_PAGING_DEFAULTLINKS
public
mixed
WIKINDX_USER_PAGING_DEFAULTLINKS
= 11
WIKINDX_USER_PAGING_DEFAULTPAGING
public
mixed
WIKINDX_USER_PAGING_DEFAULTPAGING
= 20
WIKINDX_USER_PAGING_MINLINKS
public
mixed
WIKINDX_USER_PAGING_MINLINKS
= 4
WIKINDX_USER_PAGING_MINPAGING
public
mixed
WIKINDX_USER_PAGING_MINPAGING
= 2
WIKINDX_USER_PAGING_STYLE_DEFAULT
public
mixed
WIKINDX_USER_PAGING_STYLE_DEFAULT
= 'N'
WIKINDX_USER_STRING_MINLENGTH
public
mixed
WIKINDX_USER_STRING_MINLENGTH
= 10
WIKINDX_USER_TIMEZONE_DEFAULT
public
mixed
WIKINDX_USER_TIMEZONE_DEFAULT
= 'auto'
WIKINDX_WP_DOCX_EXPORTER_VERSION
WordProcessor Docx Exporter Version
public
mixed
WIKINDX_WP_DOCX_EXPORTER_VERSION
= '1.0'
This value is written in the 'AppVersion' element of the app.xml file to distinguish the version that generated a Word document.