diff options
| author | dvs1 | 2025-01-10 14:51:51 +1000 |
|---|---|---|
| committer | dvs1 | 2025-01-10 14:51:51 +1000 |
| commit | ec77fcfc0b5b8ea698ec60887960fe6e4c7f9023 (patch) | |
| tree | 5bcee65008ff973fa8e16d1fb5004de82914d6d8 | |
| parent | TODO-- (diff) | |
| download | notYetAnotherWiki-ec77fcfc0b5b8ea698ec60887960fe6e4c7f9023.zip notYetAnotherWiki-ec77fcfc0b5b8ea698ec60887960fe6e4c7f9023.tar.gz notYetAnotherWiki-ec77fcfc0b5b8ea698ec60887960fe6e4c7f9023.tar.bz2 notYetAnotherWiki-ec77fcfc0b5b8ea698ec60887960fe6e4c7f9023.tar.xz | |
Don't lowercase the resulting filename.
| -rwxr-xr-x | notYetAnotherWiki.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index da88a52..4fd9fa1 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua | |||
| @@ -117,7 +117,7 @@ local whichPage = function(f) | |||
| 117 | for i, v in ipairs{'about', 'readme', 'index', 'homepage', 'mainpage', 'webhome'} do | 117 | for i, v in ipairs{'about', 'readme', 'index', 'homepage', 'mainpage', 'webhome'} do |
| 118 | for j, w in ipairs(Subs[f].files) do | 118 | for j, w in ipairs(Subs[f].files) do |
| 119 | if v == string.lower(w) then | 119 | if v == string.lower(w) then |
| 120 | fl = v .. '.HTML' | 120 | fl = w .. '.HTML' |
| 121 | break | 121 | break |
| 122 | end | 122 | end |
| 123 | end | 123 | end |
