PhileCMS/Phile — pull request #132 by Stijn-Flipper (2014-08-26 18:20:27+00:00)
Title: [BUGFIX] Use RecursiveRegexIterator with recursive regex

Bugfix for those using PHP5.4, where the `pages` variable is always an empty
array. This is because you have to use a recursive iterator when recursively
iterating through the directories/files.

In addition, the regex must also have a trailing `i`, indicating that it will
be used recursively.

Also see [this user note](http://php.net/manual/en/class.recursivedirectoryiterator.php#97228).

**Releases:** 1.3.0