Tell fastrpc.cgi that it's being run locally

This commit is contained in:
Jamie Cameron
2021-11-27 13:32:13 -08:00
parent f54788ea88
commit 23df49bab1

View File

@@ -7478,6 +7478,7 @@ if ($serv->{'fast'} || !$sn) {
}
delete($ENV{'FOREIGN_MODULE_NAME'});
delete($ENV{'FOREIGN_ROOT_DIRECTORY'});
delete($ENV{'FASTRPC_RUN_LOCAL'});
$ENV{'DISABLE_REFERERS_CHECK'} = 1;
chdir($root_directory);
if (!exec("$root_directory/fastrpc.cgi")) {