Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Merged with stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicchabant committed May 23, 2012
2 parents 32b2cfb + 641044b commit 3431058
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .hgtags
Expand Up @@ -29,3 +29,4 @@ f1134a9e90d0e8b9d2f9dd451d253664bb1b0f6c version_0.6.2
4a6e836b4ad41e67721578d668d09f63202d78af version_0.6.4
f42bd860fe6860800b3028b01dc5b09ca2589754 version_0.7.0
db53dad24ba0590b5a35e8ce438a40bf669d5ef4 version_0.7.1
84643711378048ea1795f79ad5a86382294f66f8 version_0.7.2
5 changes: 5 additions & 0 deletions CHANGELOG.markdown
Expand Up @@ -19,6 +19,11 @@ Fresh changes
Frozen changes
--------------

### 0.7.2 (2012-05-23)

* MINOR: Removed a call to a PHP 5.3.6-only method to prevent raising the
minimum required version to run PieCrust.

### 0.7.1 (2012-05-15)

* BUG: Fixed a bug with the `hierarchy` file-system when several posts are
Expand Down
3 changes: 2 additions & 1 deletion _piecrust/src/PieCrust/IO/FlatFileSystem.php
Expand Up @@ -26,7 +26,8 @@ public function getPostFiles()
$pathsIterator = new FilesystemIterator($this->pieCrust->getPostsDir() . $this->postsSubDir);
foreach ($pathsIterator as $p)
{
if ($p->getExtension() != 'html')
$extension = pathinfo($p->getFilename(), PATHINFO_EXTENSION);
if ($extension != 'html')
continue;
$paths[] = $p->getPathname();
}
Expand Down

0 comments on commit 3431058

Please sign in to comment.