mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
fixes
This commit is contained in:
@@ -299,7 +299,12 @@ if(isset($_GET['go']) && $_GET['go'] == 'login')
|
||||
}
|
||||
|
||||
#install.php exists
|
||||
if (file_exists(PATH . 'install') && !defined('IN_ADMIN') && !defined('IN_LOGIN') && !defined('DEV_STAGE'))
|
||||
if (file_exists(PATH . 'install')
|
||||
&& !defined('IN_ADMIN')
|
||||
&& !defined('IN_LOGIN')
|
||||
&& !defined('DEV_STAGE')
|
||||
&& !(defined('IN_UCP') && in_array(g('go'), array('captcha', 'login')))
|
||||
)
|
||||
{
|
||||
#Different message for admins! delete install folder
|
||||
kleeja_info((user_can('enter_acp') ? $lang['DELETE_INSTALL_FOLDER'] : $lang['WE_UPDATING_KLEEJA_NOW']), $lang['SITE_CLOSED']);
|
||||
|
||||
Reference in New Issue
Block a user