summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-07-24 11:33:04 -0400
committerEudyptula <eitan@mosenkis.net>2009-07-24 11:33:04 -0400
commit3b8dc0e7e38fd3470e3d2c2fa51a2a7c20d02499 (patch)
tree5d5860981deaa4a66174418b975e528f5703a490 /backend/backend.php
parentBroke log viewer into segments, added build deletion (diff)
downloadingenue-3b8dc0e7e38fd3470e3d2c2fa51a2a7c20d02499.tar.gz
ingenue-3b8dc0e7e38fd3470e3d2c2fa51a2a7c20d02499.tar.bz2
ingenue-3b8dc0e7e38fd3470e3d2c2fa51a2a7c20d02499.zip
Require manually-configured URL - backend needs it anyway
Diffstat (limited to 'backend/backend.php')
-rwxr-xr-xbackend/backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/backend.php b/backend/backend.php
index 3e85c90..4939dc1 100755
--- a/backend/backend.php
+++ b/backend/backend.php
@@ -95,7 +95,7 @@ while (true) {
$key=randstring(30);
$opt=new sql_buildopt($build->id, 'uploadkey', $key);
$opt->write();
- $c=curl_init($conf['frontend_location'].'/backend/upload_image');
+ $c=curl_init(url('backend/upload_image'));
curl_setopt($c, CURLOPT_POST, 1);
curl_setopt($c, CURLOPT_POSTFIELDS, array(
'build' => $build->id,