[ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)

PHPBB3-11669
Merge remote-tracking branch 'EXreaction/ticket/11669' into develop

* EXreaction/ticket/11669:
  [ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)