Commits

Shlomi Fish  committed 399b93d

More chdir()'s to make Embperl happy.

  • Participants
  • Parent commits 9ecc633

Comments (0)

Files changed (2)

File wml/news/changelog.wml

 
 <h2>ChangeLog</h2>
 
+[! use File::Basename; !]
 <pre>
 [+
 eval {
+chdir(dirname($ENV{'PATH_TRANSLATED'}));
 binmode STDOUT, ":utf8";
 open(FP, "<../distrib/wml-SNAP/ChangeLog");
 binmode FP, ":iso8859-1";

File wml/news/news.wml

 
 <h2>News</h2>
 
+[! use File::Basename; !]
 <pre>
 [+
 eval {
+chdir(dirname($ENV{'PATH_TRANSLATED'}));
 my $out = "";
 open(FP, "<../distrib/wml-SNAP/NEWS");
 while (<FP>) {