projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a test for autoindex's current functionality
[ikiwiki.git]
/
IkiWiki.pm
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 926d42a497159845ae8ab94c62a054374a61d468..93d2c326d300209cf8f6af51905ec34bccd80b64 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-544,7
+544,7
@@
sub checkconfig () {
error(gettext("Must specify url to wiki with --url when using --cgi"));
}
- if (length $config{url}) {
+ if (
defined $config{url} &&
length $config{url}) {
eval q{use URI};
my $baseurl = URI->new($config{url});