mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Update secure_login.php
This commit is contained in:
parent
1a26460eee
commit
052031d103
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ if ($_SERVER['SCRIPT_FILENAME']=='/usr/local/vesta/web//reset/mail/set-ar.php')
|
|||
if ($_SERVER['SCRIPT_FILENAME']=='/usr/local/vesta/web/reset/mail/get-ar.php') $skip_login_url_check=1;
|
||||
if ($_SERVER['SCRIPT_FILENAME']=='/usr/local/vesta/web//reset/mail/get-ar.php') $skip_login_url_check=1;
|
||||
|
||||
if (substr($_SERVER['SCRIPT_FILENAME'], 0, 21)=='/usr/local/vesta/bin/') $skip_login_url_check=1; // allow executing v-* PHP scripts
|
||||
if (substr($_SERVER['SCRIPT_FILENAME'], 0, 21)=='/usr/local/vesta/bin/') $skip_login_url_check=1; // allow executing v-* PHP scripts from bash
|
||||
|
||||
if ($skip_login_url_check==0) {
|
||||
if (!isset($login_url_loaded)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue