Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/jeremeamia/zf2 into jerem…
Browse files Browse the repository at this point in the history
…eamia-master
  • Loading branch information
ezimuel committed Aug 19, 2013
2 parents 002ce3d + e629a43 commit 7bec491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Zend/Config/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ public static function toFile($filename, $config)
);
}

$extension = substr(strrchr($filename, '.'), 1);
$directory = dirname($filename);
$extension = substr(strrchr($filename, '.'), 1);
$directory = dirname($filename);

if (!is_dir($directory)) {
throw new Exception\RuntimeException(
Expand Down

0 comments on commit 7bec491

Please sign in to comment.