summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-06-11 17:39:44 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-06-11 17:39:44 +0000
commita72324f7783b018dd94d507e4793312ecb5721c0 (patch)
treecc2d8c20cd8d9d7959cce1630e2b5e8f00a673dd
parent2636d52886e235fdd4804331494fc7e403b271d8 (diff)
Enabling file uploads in CGI::Simple
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2165 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB.pm1
-rw-r--r--scripts/vouchers.pl1
2 files changed, 2 insertions, 0 deletions
diff --git a/LedgerSMB.pm b/LedgerSMB.pm
index ce279466..63f4ec27 100755
--- a/LedgerSMB.pm
+++ b/LedgerSMB.pm
@@ -127,6 +127,7 @@ ability to hide the entire structure for things like CSV lookups.
=cut
use CGI::Simple;
+$CGI::Simple::DISABLE_UPLOADS = 0;
use Math::BigFloat;
use LedgerSMB::Sysconfig;
use Data::Dumper;
diff --git a/scripts/vouchers.pl b/scripts/vouchers.pl
index 5f4d8401..e6eb7f39 100644
--- a/scripts/vouchers.pl
+++ b/scripts/vouchers.pl
@@ -39,6 +39,7 @@ sub create_vouchers {
}
sub search_transactions {
+}
sub add_vouchers {