mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-27 21:41:10 -05:00
config
This commit is contained in:
parent
96fe4f627c
commit
f66694f362
@ -72,7 +72,10 @@ $config['per_page'] = 10;
|
|||||||
**/
|
**/
|
||||||
$config['private_only'] = false;
|
$config['private_only'] = false;
|
||||||
$config['enable_captcha'] = false;
|
$config['enable_captcha'] = false;
|
||||||
$config['blocked_words'] = '.es.tl, mycraft.com, strom';
|
|
||||||
|
//blocked words; comma separated list, e.g. '.es.tl, mycraft.com, yourbadword'
|
||||||
|
$config['blocked_words'] = '';
|
||||||
|
|
||||||
//spamadmin: accessible via /spamadmin (only active when user + pass is set)
|
//spamadmin: accessible via /spamadmin (only active when user + pass is set)
|
||||||
$config['spamadmin_user'] = '';
|
$config['spamadmin_user'] = '';
|
||||||
$config['spamadmin_pass'] = '';
|
$config['spamadmin_pass'] = '';
|
||||||
|
@ -621,10 +621,12 @@ class Main extends CI_Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function _blockwords_check($raw)
|
function _blockwords_check()
|
||||||
{
|
{
|
||||||
|
|
||||||
//setup message
|
//setup message
|
||||||
$this->form_validation->set_message('_blockwords_check', 'Your paste contains blocked words.');
|
$this->form_validation->set_message('_blockwords_check', 'Your paste contains blocked words.');
|
||||||
|
|
||||||
//check
|
//check
|
||||||
$blocked_words = $this->config->item('blocked_words');
|
$blocked_words = $this->config->item('blocked_words');
|
||||||
$post = $this->input->post();
|
$post = $this->input->post();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user