Fix for loading translations if directory names contain a dot

Permalink
I recently tried to install the german version of Concrete5 5.6.1.2 and ran into the same issue as reported earlier in this thread of the bug tracker:

http://www.concrete5.org/developers/bugs/5-6-1-2/loading-translatio...

There has been a pull request and the bug is now marked as resolved.

https://github.com/concrete5/concrete5/pull/582...

Nevertheless the problem still exists for server folder structures where folder names contain a dot.

Because the original thread may be hard to find, i just want to remind others, who are experiencing the same problem, of the solution, kindly provided by Mainio:

Just add these lines of code to the site.php and the problem is gone:

define('TRANSLATE_OPTIONS', serialize(array(
  'ignore' => '..'
)));


Thanks again, Mainio!

okapi