mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
notify option ssupport
This commit is contained in:
parent
027290225b
commit
07b93358e8
1 changed files with 6 additions and 1 deletions
|
@ -2,14 +2,19 @@
|
|||
<?php
|
||||
error_reporting(NULL);
|
||||
if (empty($argv[1])) {
|
||||
echo "Error: not enough arguments\n";
|
||||
echo "ERROR: not enough arguments\n";
|
||||
echo "USAGE: mail-wrapper.php -s SUBJECT EMAIL [NOTIFY]\n";
|
||||
exit(3);
|
||||
}
|
||||
|
||||
$options = getopt("s:f:");
|
||||
|
||||
if ((!empty($argv[4])) && ($argv[4] == 'no')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
define('NO_AUTH_REQUIRED',true);
|
||||
|
||||
include("/usr/local/vesta/web/inc/main.php");
|
||||
|
||||
// Set system language
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue