Rev 1041 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1041 | Rev 1050 | ||
---|---|---|---|
Line 107... | Line 107... | ||
107 | Alternative Values (installed plugins) |
107 | Alternative Values (installed plugins) |
108 | - reCAPTCHA |
108 | - reCAPTCHA |
109 | - hCaptcha |
109 | - hCaptcha |
110 | - ViaThinkSoft Client Challenge |
110 | - ViaThinkSoft Client Challenge |
111 | 111 | ||
112 | OIDplus::baseConfig()->setValue('RECAPTCHA_VERSION', OIDplusCaptchaPluginRecaptcha::RECAPTCHA_V2_CHECKBOX); |
112 | OIDplus::baseConfig()->setValue('RECAPTCHA_VERSION', \ViaThinkSoft\OIDplus\OIDplusCaptchaPluginRecaptcha::RECAPTCHA_V2_CHECKBOX); |
113 | Possible values: |
113 | Possible values: |
114 | OIDplusCaptchaPluginRecaptcha::RECAPTCHA_V2_CHECKBOX |
114 | \ViaThinkSoft\OIDplus\OIDplusCaptchaPluginRecaptcha::RECAPTCHA_V2_CHECKBOX |
115 | OIDplusCaptchaPluginRecaptcha::RECAPTCHA_V2_INVISIBLE |
115 | \ViaThinkSoft\OIDplus\OIDplusCaptchaPluginRecaptcha::RECAPTCHA_V2_INVISIBLE |
116 | OIDplusCaptchaPluginRecaptcha::RECAPTCHA_V3 |
116 | \ViaThinkSoft\OIDplus\OIDplusCaptchaPluginRecaptcha::RECAPTCHA_V3 |
117 | 117 | ||
118 | OIDplus::baseConfig()->setValue('RECAPTCHA_ENABLED', true); |
118 | OIDplus::baseConfig()->setValue('RECAPTCHA_ENABLED', true); |
119 | Deprecated! |
119 | Deprecated! |
120 | RECAPTCHA_ENABLED=true becomes CAPTCHA_PLUGIN=reCAPTCHA |
120 | RECAPTCHA_ENABLED=true becomes CAPTCHA_PLUGIN=reCAPTCHA |
121 | RECAPTCHA_ENABLED=false becomes CAPTCHA_PLUGIN=None |
121 | RECAPTCHA_ENABLED=false becomes CAPTCHA_PLUGIN=None |
Line 222... | Line 222... | ||
222 | OIDplus::baseConfig()->setValue('DISABLE_PLUGIN_...', true); |
222 | OIDplus::baseConfig()->setValue('DISABLE_PLUGIN_...', true); |
223 | This gives you the possibility to disable a plugin without |
223 | This gives you the possibility to disable a plugin without |
224 | requiring it to be removed from the file system. |
224 | requiring it to be removed from the file system. |
225 | (Removing a plugin from the file system can result in various |
225 | (Removing a plugin from the file system can result in various |
226 | problems, e.g. they can be re-added during a SVN/software update.) |
226 | problems, e.g. they can be re-added during a SVN/software update.) |
227 | Replace "..." with the main PHP class of the plugin you want to disable |
227 | Replace "..." with the main PHP class of the plugin you want to disable. |
- | 228 | The namespace must be included. |
|
228 | Example: |
229 | Example: |
229 | "DISABLE_PLUGIN_OIDplusLoggerPluginUserdataLogfile" |
230 | "DISABLE_PLUGIN_ViaThinkSoft\OIDplus\OIDplusLoggerPluginUserdataLogfile" |
230 | disables the plugin "logger/300_userdata_logfile". |
231 | disables the plugin "logger/300_userdata_logfile". |
231 | 232 | ||
232 | OIDplus::baseConfig()->setValue('DISABLE_AJAX_TRANSACTIONS', false); |
233 | OIDplus::baseConfig()->setValue('DISABLE_AJAX_TRANSACTIONS', false); |
233 | This will disable the usage of database transactions in ajax.php |
234 | This will disable the usage of database transactions in ajax.php |
234 | Do only use this if you have severe problems with the system running. |
235 | Do only use this if you have severe problems with the system running. |