Skip to content

Commit

Permalink
Merge branch 'hotfix/2.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
bobthecow committed Sep 12, 2012
2 parents d98153e + cf3c86f commit d99be34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Mustache/Engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
class Mustache_Engine
{
const VERSION = '2.0.1';
const VERSION = '2.0.2';
const SPEC_VERSION = '1.1.2';

// Template cache
Expand Down
4 changes: 2 additions & 2 deletions src/Mustache/Loader/FilesystemLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function load($name)
*
* @return string Mustache Template source
*/
private function loadFile($name)
protected function loadFile($name)
{
$fileName = $this->getFileName($name);

Expand All @@ -106,7 +106,7 @@ private function loadFile($name)
*
* @return string Template file name
*/
private function getFileName($name)
protected function getFileName($name)
{
$fileName = $this->baseDir . '/' . $name;
if (substr($fileName, 0 - strlen($this->extension)) !== $this->extension) {
Expand Down

0 comments on commit d99be34

Please sign in to comment.