mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-15 20:49:41 +01:00
fix captcha
This commit is contained in:
@@ -4,7 +4,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## 2.4
|
||||||
|
- fix bug where captcha doesn't work if website is closed.
|
||||||
|
|
||||||
|
|
||||||
## 2.3
|
## 2.3
|
||||||
- fix bug where 'empty files' error when url uplaoding is on.
|
- fix bug where 'empty files' error when url uplaoding is on.
|
||||||
- fix bug where limiting download size is not working.
|
- fix bug where limiting download size is not working.
|
||||||
|
|||||||
@@ -308,7 +308,13 @@ if (file_exists(PATH . 'install') && !defined('IN_ADMIN') && !defined('IN_LOGIN'
|
|||||||
|
|
||||||
#is site close
|
#is site close
|
||||||
$login_page = '';
|
$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 download, images ?
|
||||||
if(
|
if(
|
||||||
|
|||||||
Reference in New Issue
Block a user