projects
/
misc
/
hallinta-metro
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branches 'helvetica', 'mail' and 'mpack'
[misc/hallinta-metro]
/
utils.php
diff --git
a/utils.php
b/utils.php
index
9e5e005
..
2afa57b
100644
(file)
--- a/
utils.php
+++ b/
utils.php
@@
-6,7
+6,7
@@
define('FNAME_VARS', 'ordersatz_vars.tex');
define('FNAME_ITEMS', 'ordersatz_items.tex');
define('FAXNUMBER','2002-364');
define('ERROR_SAFT','joey@finlandia');
define('FNAME_ITEMS', 'ordersatz_items.tex');
define('FAXNUMBER','2002-364');
define('ERROR_SAFT','joey@finlandia');
-define('ERROR_MAIL','joey@finlandia');
+define('ERROR_MAIL','joey@finlandia
.infodrom.org
');
function mk_tempdir()
{
function mk_tempdir()
{
@@
-182,10
+182,10
@@
function ordersatz_write($id, $dir, $send)
if ($ret !== 0) {
$fname = sprintf("ordersatz-%d-%d.tar.bz2", $id, time());
$cmd = sprintf("tar cfj %s ordersatz.tex ordersatz_vars.tex ordersatz_items.tex ordersatz.out && " .
if ($ret !== 0) {
$fname = sprintf("ordersatz-%d-%d.tar.bz2", $id, time());
$cmd = sprintf("tar cfj %s ordersatz.tex ordersatz_vars.tex ordersatz_items.tex ordersatz.out && " .
- "m
ail -s 'Probleme beim Compilieren des Ordersatzes %d' %s <
%s && " .
+ "m
pack -s 'Probleme beim Compilieren des Ordersatzes %d' -d ordersatz.out %s
%s && " .
"sendfile -Q -c='Probleme beim Compilieren des Ordersatzes %d' %s %s",
$fname,
"sendfile -Q -c='Probleme beim Compilieren des Ordersatzes %d' %s %s",
$fname,
- $id,
ERROR_MAIL, $fname
,
+ $id,
$fname, ERROR_MAIL
,
$id, $fname, ERROR_SAFT);
system($cmd);
return "Probleme beim Compilieren des Ordersatzes";
$id, $fname, ERROR_SAFT);
system($cmd);
return "Probleme beim Compilieren des Ordersatzes";