We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e90557b + ee7ad7c commit f73b0c8Copy full SHA for f73b0c8
install.php
@@ -126,6 +126,8 @@
126
);
127
if (isset($modSettings['cleantalk_api_key']) && $modSettings['cleantalk_api_key'] != '' && isset($modSettings['cleantalk_sfw']) && $modSettings['cleantalk_sfw'] == 1)
128
{
129
+ if (!class_exists('CleantalkSFW'))
130
+ require_once(dirname(__FILE__) . '/lib/CleantalkSFW.php');
131
$sfw = new CleantalkSFW;
132
$sfw->sfw_update($modSettings['cleantalk_api_key']);
133
unset($sfw);
0 commit comments