mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
Update secure_login.php
This commit is contained in:
parent
c4a644bd9a
commit
fe9d6c1c63
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
|
||||
$skip_login_url_check=0;
|
||||
|
||||
if ($_SERVER['SCRIPT_FILENAME']=='/usr/local/vesta/web/inc/mail-wrapper.php') $skip_login_url_check=1; // it can be executed only from cli
|
||||
|
||||
if ($_SERVER['SCRIPT_FILENAME']=='/usr/local/vesta/web/reset/mail/index.php') $skip_login_url_check=1; // it's accessible only from localhost
|
||||
if ($_SERVER['SCRIPT_FILENAME']=='/usr/local/vesta/web//reset/mail/index.php') $skip_login_url_check=1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue