Main page
|
Recent changes
|
History
Menu:
Main page
|
Recent changes
|
History
Menu:
Plugins
B
I
U
S
link
image
code
list
Show page
Syntax
!!Plugin configuration Plugins are basically PHP classes with some member variables -- some of these member variables are configuration options. So if you want to change e.g. password in Admin plugin, open plugins/wkp_Admin.php in text editor and change $PASSWORD member variable. !!!Configuration in config.php Plugins configuration explained above has one serious flaw - when you upgrade your installation to newer version of LionWiki, all settings is lost. '''Since LionWiki 3.1''' it is possible to configure plugins in config.php file: {{$Admin["PASSWORD"] = sha1("my_password");}} So, you take a look at the member variable name in the plugin class and use it as a member of an array named after plugin.
Password
Summary of changes