projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disabled class cleanup for played cards
[brisk.git]
/
web
/
Obj
/
mail.phh
diff --git
a/web/Obj/mail.phh
b/web/Obj/mail.phh
index
4d9025f
..
30b8dba
100644
(file)
--- a/
web/Obj/mail.phh
+++ b/
web/Obj/mail.phh
@@
-1,5
+1,5
@@
<?php
<?php
-if (__FILE__ == realpath($argv[0])) {
+if (
isset($argv) &&
__FILE__ == realpath($argv[0])) {
$G_base = "web/";
}
require_once("${G_base}Obj/class.phpmailer.php");
$G_base = "web/";
}
require_once("${G_base}Obj/class.phpmailer.php");
@@
-29,7
+29,7
@@
function brisk_mail($to, $subject, $text, $html)
}
}
-if (__FILE__ == realpath($argv[0])) {
+if (
isset($argv) &&
__FILE__ == realpath($argv[0])) {
$G_admin_mail = "brisk@alternativeoutput.it";
$to = "brisk@alternativeoutput.it";
$G_admin_mail = "brisk@alternativeoutput.it";
$to = "brisk@alternativeoutput.it";