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.
1 parent c3dda58 commit ad460d1Copy full SHA for ad460d1
web/api/index.php
@@ -1,5 +1,15 @@
1
<?php
2
use function Hestiacp\quoteshellarg\quoteshellarg;
3
+
4
+try {
5
+ require_once './inc/vendor/autoload.php';
6
+} catch (Throwable $ex) {
7
+ $errstr = 'Unable able to load required libraries. Please run v-add-sys-phpmailer in command line. Error: ' . $ex->getMessage();
8
+ trigger_error($errstr);
9
+ echo $errstr;
10
+ exit(1);
11
+}
12
13
//die("Error: Disabled");
14
define('HESTIA_DIR_BIN', '/usr/local/hestia/bin/');
15
define('HESTIA_CMD', '/usr/bin/sudo /usr/local/hestia/bin/');
0 commit comments