summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-07-24 11:56:22 -0400
committerEudyptula <eitan@mosenkis.net>2009-07-24 11:56:22 -0400
commit518e41513db9c60ec7cf5fc9b4e10e29c037e6ba (patch)
tree06fee7516b143ca6b61b5cdb876800f67b68c95c /backend
parentRequire manually-configured URL - backend needs it anyway (diff)
downloadingenue-518e41513db9c60ec7cf5fc9b4e10e29c037e6ba.tar.gz
ingenue-518e41513db9c60ec7cf5fc9b4e10e29c037e6ba.tar.bz2
ingenue-518e41513db9c60ec7cf5fc9b4e10e29c037e6ba.zip
Reorganized log URLs; little update to routing.csv format
Diffstat (limited to 'backend')
-rwxr-xr-xbackend/backend.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/backend.php b/backend/backend.php
index 4939dc1..343be9f 100755
--- a/backend/backend.php
+++ b/backend/backend.php
@@ -83,7 +83,7 @@ while (true) {
log_msg('Caught exception: '.$e->getMessage());
$build->status=126;
$owner=$build->get_owner();
- xhtmlemail('"'.$owner->name.'" <'.$owner->email.'>', null, $conf['title'].' build failed', 'Your build has failed. You can find more information at <a href="'.url('logs/'.$build->id).'">'.url('logs/'.$build->id).'</a>');
+ xhtmlemail('"'.$owner->name.'" <'.$owner->email.'>', null, $conf['title'].' build failed', 'Your build has failed. You can find more information at <a href="'.url("build/$build->id").'">'.url("build/$build->id").'</a>');
}
$build->finish=time();
debug('Finished with build id='.$build->id);
@@ -120,7 +120,7 @@ while (true) {
$ext=substr($base, strpos($base, '.'));
rename($file, COMPLETED.'/build-'.$build->id.$ext);
}
- xhtmlemail('"'.$owner->name.'" <'.$owner->email.'>', null, $conf['title'].' build finished', 'Your build has completed successfully. You can find more information and download the completed image at <a href="'.url('logs/'.$build->id).'">'.url('logs/'.$build->id).'</a>');
+ xhtmlemail('"'.$owner->name.'" <'.$owner->email.'>', null, $conf['title'].' build finished', 'Your build has completed successfully. You can find more information and download the completed image at <a href="'.url("build/$build->id").'">'.url("build/$build->id").'</a>');
}
$build->write();
unset($build);