Skip to content

Commit

Permalink
Alterando para considerar o include_path para verificar se a página m…
Browse files Browse the repository at this point in the history
…estra existe.
  • Loading branch information
dlepera committed Mar 17, 2019
1 parent ab90516 commit d598498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PaginaMestra.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function __construct(string $pagina_mestra)
*/
public function existsPaginaMestra(): bool
{
return file_exists($this->pagina_mestra);
return stream_resolve_include_path($this->pagina_mestra) !== false;
}

/**
Expand Down

0 comments on commit d598498

Please sign in to comment.