]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - ikiwiki.in
remove paragraph about old style directives, it's been long enough
[git.ikiwiki.info.git] / ikiwiki.in
index b62962ad8892841b9c28b0c649345514e493f5e1..acd37f8026c1a2a9ab076a877358617e9e20435e 100755 (executable)
@@ -44,7 +44,8 @@ sub getconfig () {
                        "wrappergroup=s" => \$config{wrappergroup},
                        "usedirs!" => \$config{usedirs},
                        "prefix-directives!" => \$config{prefix_directives},
-                       "getctime" => \$config{getctime},
+                       "getctime" => \$config{gettime},
+                       "gettime!" => \$config{gettime},
                        "numbacklinks=i" => \$config{numbacklinks},
                        "rcs=s" => \$config{rcs},
                        "no-rcs" => sub { $config{rcs}="" },
@@ -103,8 +104,8 @@ sub getconfig () {
                                }
                                eval q{use YAML::Any};
                                eval q{use YAML} if $@;
-                               $YAML::Syck::ImplicitUnicode=1;
                                die $@ if $@;
+                               eval q{$YAML::Syck::ImplicitUnicode=1};
                                $config{$var}=Load($val."\n");
                        },
                        "version" => sub {