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 0272902 commit 07b9335Copy full SHA for 07b9335
web/inc/mail-wrapper.php
@@ -2,14 +2,19 @@
2
<?php
3
error_reporting(NULL);
4
if (empty($argv[1])) {
5
- echo "Error: not enough arguments\n";
+ echo "ERROR: not enough arguments\n";
6
+ echo "USAGE: mail-wrapper.php -s SUBJECT EMAIL [NOTIFY]\n";
7
exit(3);
8
}
9
10
$options = getopt("s:f:");
11
12
+if ((!empty($argv[4])) && ($argv[4] == 'no')) {
13
+ exit;
14
+}
15
16
define('NO_AUTH_REQUIRED',true);
17
+
18
include("/usr/local/vesta/web/inc/main.php");
19
20
// Set system language
0 commit comments