Skip to content

Commit

Permalink
Tratando nome do arquivo JS ou CSS a ser adicionado.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlepera committed Dec 8, 2019
1 parent 629feba commit 2ce8214
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dlepera88-php/vilex",
"version": "1.2.6",
"version": "1.2.7",
"license": "MIT",
"authors": [
{"name": "Diego Lepera", "email": "dlepera88@gmail.com"}
Expand Down
2 changes: 1 addition & 1 deletion src/VileX.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ public function render(?string $arquivo_pagina_mestra = null): HtmlResponse
*/
private function findCaminhoCompleto(string $arquivo): string
{
$arquivo_original = $arquivo;
$arquivo_original = trim($arquivo, '/');
$include_paths = explode(PATH_SEPARATOR, get_include_path());
$quantidade_paths = count($include_paths);
$i = 0;
Expand Down

0 comments on commit 2ce8214

Please sign in to comment.