mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
fix captcha
This commit is contained in:
@@ -308,7 +308,13 @@ if (file_exists(PATH . 'install') && !defined('IN_ADMIN') && !defined('IN_LOGIN'
|
||||
|
||||
#is site close
|
||||
$login_page = '';
|
||||
if ($config['siteclose'] == '1' && !user_can('enter_acp') && !defined('IN_LOGIN') && !defined('IN_ADMIN'))
|
||||
if (
|
||||
$config['siteclose'] == '1' &&
|
||||
!user_can('enter_acp') &&
|
||||
!defined('IN_LOGIN') &&
|
||||
!defined('IN_ADMIN') &&
|
||||
!(defined('IN_UCP') && in_array(g('go'), array('captcha', 'login', 'register')))
|
||||
)
|
||||
{
|
||||
//if download, images ?
|
||||
if(
|
||||
|
||||
Reference in New Issue
Block a user