Open Silber-Toaster opened 1 month ago
You don't have to put the burger.svg is in the root directory. Direct access to the system folder is not allowed, so that's why the core maps assets via a virtual location. You can access them from there, if you like, I think this is the easiest way. Of course nothing stops you from putting your images where you want.
Try replacing...
$this->yellow->system->get("coreServerBase").$this->yellow->system->get("coreExtensionLocation");
with
$this->yellow->system->get("coreServerBase").$this->yellow->system->get("coreAssetLocation");
Hope this helps.
Hello,
many thanks for the good work, I was looking for something like this.
There is a small problem on my web server. If the burger.svg remains in the source directory, it is only displayed on the "home" page, on all other pages the burger.svg is not found.
If the burger.svg is in the root directory and the source code is extended with a "/burger.svg" there are no problems.
Greetings Silver