mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Fix for Nginx-less setup
This commit is contained in:
parent
a2f012c7af
commit
f7236d034e
10 changed files with 58 additions and 44 deletions
|
@ -60,9 +60,11 @@ $web_templates = json_decode(implode('', $output), true);
|
|||
unset($output);
|
||||
|
||||
// List proxy templates
|
||||
exec (VESTA_CMD."v-list-web-templates-proxy json", $output, $return_var);
|
||||
$proxy_templates = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
if (!empty($_SESSION['PROXY_SYSTEM'])) {
|
||||
exec (VESTA_CMD."v-list-web-templates-proxy json", $output, $return_var);
|
||||
$proxy_templates = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
}
|
||||
|
||||
// List dns templates
|
||||
exec (VESTA_CMD."v-list-dns-templates json", $output, $return_var);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue