SPIP

[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [vi] [zh] Espace de traduction

Download

_DIR_PLUGINS_AUTO

June 2010

All the versions of this article:

_DIR_PLUGINS_AUTO defines the location of the folder that will contain the plugins that can be installed using the plugin upload mechanism integrated into SPIP.


_DIR_PLUGINS_AUTO is a character strong corresponding to the file path relative to SPIP’s root directory.

It is possible to define this constant in your config/mes_options.php file (refer to the article dedicated to The mes_options.php file).

Defining this constant with an empty value '' (an empty character string) means that the automatic installation feature will be completely deactivated.

Example:

// Deactivate upload installations from SPIP's admin screens
define('_DIR_PLUGINS_AUTO', '');

By default, this constant is set to:

define('_DIR_PLUGINS_AUTO', _DIR_PLUGINS.'auto/');

In other words: the "auto/" sub-directory on the "plugins/" folder.


Show the template of this page Site powered by SPIP | Translation area | Private area