mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Allow softaculous in secure_login
This commit is contained in:
parent
2106a46d62
commit
436669607e
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ if (substr($_SERVER['SCRIPT_FILENAME'], 0, 28)=='/usr/local/vesta/web/custom/')
|
|||
if (substr($_SERVER['SCRIPT_FILENAME'], 0, 29)=='/usr/local/vesta/web//custom/') $login_url_skip=1;
|
||||
|
||||
if (substr($_SERVER['SCRIPT_FILENAME'], 0, 21)=='/usr/local/vesta/bin/') $skip_login_url_check=1; // allow executing v-* PHP scripts from bash
|
||||
if (substr($_SERVER['SCRIPT_FILENAME'], 0, 29)=='/usr/local/vesta/softaculous/') $skip_login_url_check=1; // allow softaculous
|
||||
if (substr($_SERVER['SCRIPT_FILENAME'], 0, 33)=='/usr/local/vesta/web/softaculous/') $skip_login_url_check=1; // allow softaculous
|
||||
if (substr($_SERVER['SCRIPT_FILENAME'], 0, 34)=='/usr/local/vesta/web//softaculous/') $skip_login_url_check=1; // allow softaculous
|
||||
|
||||
if ($skip_login_url_check==0) {
|
||||
if (!isset($login_url_loaded)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue