Skip to content

Commit f73b0c8

Browse files
author
davydovct
committed
Merge branch 'dev'
2 parents e90557b + ee7ad7c commit f73b0c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install.php

+2
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@
126126
);
127127
if (isset($modSettings['cleantalk_api_key']) && $modSettings['cleantalk_api_key'] != '' && isset($modSettings['cleantalk_sfw']) && $modSettings['cleantalk_sfw'] == 1)
128128
{
129+
if (!class_exists('CleantalkSFW'))
130+
require_once(dirname(__FILE__) . '/lib/CleantalkSFW.php');
129131
$sfw = new CleantalkSFW;
130132
$sfw->sfw_update($modSettings['cleantalk_api_key']);
131133
unset($sfw);

0 commit comments

Comments
 (0)