Support for PHP > 3
authorJoey Schulze <joey@infodrom.org>
Fri, 29 Dec 2006 19:44:12 +0000 (19:44 +0000)
committerJoey Schulze <joey@infodrom.org>
Fri, 29 Dec 2006 19:44:12 +0000 (19:44 +0000)
bin/wmldepend.pl

index 61f6420..3c7dc5a 100755 (executable)
@@ -86,7 +86,7 @@ while ($foo = shift (@ARGV)) {
 %var=();
 for $f (@FILES) {
     $foo = $f;
-    $foo =~ s/\.wml$/\.php3/;
+    $foo =~ s/\.wml$/\.php/;
     printf "%s: %s", $foo, $f;
     findincludes ($f, %var);
     print "\n";