use IkiWiki::UserInfo;
use open qw{:utf8 :std};
use Encode;
+use CGI;
+$CGI::DISABLE_UPLOADS=1;
package IkiWiki;
eval q{use CGI::FormBuilder};
error($@) if $@;
my $form = CGI::FormBuilder->new(
- title => "editpage",
fields => \@fields,
charset => "utf-8",
method => 'POST',
my $q=shift;
my $session=shift;
- eval q{use CGI};
- error($@) if $@;
- $CGI::DISABLE_UPLOADS=1;
-
if (! $q) {
binmode(STDIN);
$q=CGI->new;