We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e143c49 + 03d00ca commit 5b20478Copy full SHA for 5b20478
web/inc/main.php
@@ -15,7 +15,7 @@
15
} else {
16
define('JS_LATEST_UPDATE', 'r=' . time());
17
}
18
-define('DEFAULT_PHP_VERSION', 'php-' . exec('php -r "echo (float)phpversion();"'));
+define('DEFAULT_PHP_VERSION', 'php-' . exec('php -r "echo substr(phpversion(),0,3);"'));
19
20
// Load Hestia Config directly
21
load_hestia_config();
@@ -444,7 +444,6 @@ function backendtpl_with_webdomains()
444
exec(HESTIA_CMD . 'v-list-web-domains '. escapeshellarg($user) . ' json', $output, $return_var);
445
$domains = json_decode(implode('', $output), true);
446
unset($output);
447
-
448
foreach ($domains as $domain => $domain_details) {
449
if (!empty($domain_details['BACKEND'])) {
450
$backend = $domain_details['BACKEND'];
0 commit comments