Skip to content

Commit

Permalink
Add info about using file system paths for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed May 20, 2020
1 parent 05aa0bf commit 9184b6f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -293,6 +293,13 @@ echo $this->Html->image('logo.png', ['fullBase' => true]);
echo $this->Html->css('bootstrap.css', ['fullBase' => true]);
```

If you are enable to get URLs for assets working properly, you can
try using file system paths instead for the assets.

```
<img src="<?= WWW_ROOT ?>img/logo.png" />
```

## Get header and footer on all pages

Here are a couple of CSS based solutions you can refer to for easily
Expand Down

0 comments on commit 9184b6f

Please sign in to comment.