Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/themsaid/katana-core
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Mar 23, 2016
2 parents 3050afb + decdd24 commit 78631cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileHandlers/BaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function handle(SplFileInfo $file)
sprintf(
'%s/%s',
$this->prepareAndGetDirectory(),
in_array($file->getExtension(), ['php', 'md']) ? 'index.html' : $file->getFilename()
ends_with($file->getFilename(), ['.blade.php', 'md']) ? 'index.html' : $file->getFilename()
),
$content
);
Expand Down

0 comments on commit 78631cc

Please sign in to comment.