Typo in SVN Rev. 139 File
Forum » Wikidot version 1 / Bugs » Typo in SVN Rev. 139 File
started by: Ed JohnsonEd Johnson
on: 1216771883|%e %b %Y, %H:%M %Z|agohover
number of posts: 1
rss icon RSS: new posts
Typo in SVN Rev. 139 File
Ed JohnsonEd Johnson 1216771884|%e %b %Y, %H:%M %Z|agohover

I just installed the latest Wikidot 1 package and it tripped over a typo in /var/www/wikidot/lib/ozone/php/core/functions.php on line 147 when creating a new site:

$dir = preg_replace(';/$', '', $dir);

should be:

$dir = preg_replace(';/$;', '', $dir);

A semi-colon was missing after the $ sign.

last edited on 1216772555|%e %b %Y, %H:%M %Z|agohover by Ed Johnson + show more
unfold Typo in SVN Rev. 139 File by Ed JohnsonEd Johnson, 1216771884|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License