diff options
| author | jules <jules@okfoc.us> | 2014-02-03 09:21:30 -0500 |
|---|---|---|
| committer | jules <jules@okfoc.us> | 2014-02-03 09:21:30 -0500 |
| commit | 305cfd8d68be2234deb8d7c19f7eee14d5e7aa20 (patch) | |
| tree | d36aecc293d3f540d5f612fb11c48f315878a1f7 | |
| parent | 24415adb4eff017c07e346826c7d46367ab0fff8 (diff) | |
| parent | 34abb05fef90c6b68f33c1b3d29b525f3ab62d2a (diff) | |
Merge branch 'master' of lmno:dither
| -rwxr-xr-x | cgi-bin/upload | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cgi-bin/upload b/cgi-bin/upload index 1dd60da..b179dde 100755 --- a/cgi-bin/upload +++ b/cgi-bin/upload @@ -159,7 +159,8 @@ sub main{ my $photoblaster_directory = make_photoblaster_directory(); my $photoblaster_filename = sprintf("%s.%s", make_photoblaster_filename(), $filetype); - my $filepath = $main::upload_dir . $photoblaster_filename; + my $upload_dir = "/tmp"; + my $filepath = $upload_dir . $photoblaster_filename; if ($filetype =~ /gif$/i){ unless(write_to_file($filepath, $filedata)){ |
