Skip to content
This repository was archived by the owner on Nov 12, 2023. It is now read-only.

PluginsConfig

Mic edited this page Oct 10, 2015 · 1 revision

The optional config.php file located in the plugin folder is used to store the plugin configuration.

All the options are stored in the $config array.

$config['test']='A variable';

To use the configuration, it must be loaded with the load_config() plugin function.
Then, the configuration is stored in the $config plugin property.

echo $this->config['test'];

Clone this wiki locally