Variables and Constants for customisation
Some behaviours of the pages on your site can be modified using PHP variables or constants. These variables or constants are normally defined by SPIP, but to provide more delicate customisations of the site, the webmaster has the capability to modify them.
Most of these customisations are defined in the
This file must be a PHP file starting with
Most of these customisations are defined in the
mes_options.php
file that you must carefully be located in the config/
directory of the site.
This file must be a PHP file starting with
<?php
and ending with ?>
(remember not to leave spaces or blanks lines before <?php
or after ?>
).
Articles in this section
- _DATA_SOURCE_MAX_SIZE
- _PREVIEW_TOKEN
- _SPIP_SELECT_RUBRIQUES
- $GLOBALS[’controler_dates_rss’]
- $GLOBALS[’ignore_auth_http’]
- $GLOBALS[’medias_liste_champs’]
- $GLOBALS[’nombre_de_logs’]
- $GLOBALS[’spip_header_silencieux’]
- $GLOBALS[’taille_des_logs’]
- $GLOBALS[’filtrer_javascript’]
- _AUTEURS_DELAI_REJET_NOUVEAU
- _BOUCLE_PROFILER
- _CNIL_PERIODE
- _COOKIE_PATH
- _COUPER_SUITE
- _DEBUG_SLOW_QUERIES
- _DEV_VERSION_SPIP_COMPAT
- _DIRECT_CRON_FORCE
- _DIR_PLUGINS_AUTO
- _DIR_PLUGINS_SUPPL
- _DOC_MAX_SIZE
- _HEADER_COMPOSED_BY
- _HTML_BG_CRON_FORCE
- _ID_WEBMESTRES
- _IMAGE_TAILLE_MINI_AUTOLIEN
- _IMG_MAX_HEIGHT
- _IMG_MAX_SIZE
- _IMG_MAX_WIDTH
- _INC_DISTANT_MAX_SIZE
- _INTRODUCTION_SUITE
- _LANGUE_PAR_DEFAUT
- _LOGIN_TROP_COURT
- _LOGO_MAX_HEIGHT
- _LOGO_MAX_SIZE
- _LOGO_MAX_WIDTH
- _LOGO_RUBRIQUE_DESACTIVER_HERITAGE
- _LOG_FILELINE
- _LOG_FILTRE_GRAVITE
- _MAJ_NOTIF_EMAILS
- _MAX_ART_AFFICHES
- _MAX_LOG
- _MAX_MOTS_LISTE
- _NOM_PERMANENTS_ACCESSIBLES
- _NOM_PERMANENTS_INACCESSIBLES
- _NOM_TEMPORAIRES_ACCESSIBLES
- _NOM_TEMPORAIRES_INACCESSIBLES
- _PASS_LONGUEUR_MINI
- _RECHERCHE_MIN_CAR
- _RENOUVELLE_ALEA
- _SVP_PAQUET_MAX_SIZE
- _TEST_EMAIL_DEST
- _TITRER_DOCUMENTS
- _TRI_ARTICLES_RUBRIQUE