Skip to content

Commit 84569da

Browse files
committed
Grab active php cli version instead hardcoded.
1 parent ccba03e commit 84569da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/inc/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
define('HESTIA_CMD', '/usr/bin/sudo /usr/local/hestia/bin/');
66
define('JS_LATEST_UPDATE', '1491697868');
7-
define('DEFAULT_PHP_VERSION', 'php-7.3');
7+
define('DEFAULT_PHP_VERSION', "php-" . exec('php -r "echo (float)phpversion();"'));
88

99
$i = 0;
1010

0 commit comments

Comments
 (0)