diff options
Diffstat (limited to 'backend/backend.php')
-rwxr-xr-x | backend/backend.php | 2 |
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, |