Skip to content

Commit

Permalink
Add symlinks example
Browse files Browse the repository at this point in the history
  • Loading branch information
MioVisman committed Nov 13, 2023
1 parent 95f4ab3 commit 642109d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
15 changes: 11 additions & 4 deletions composer.json
Expand Up @@ -3,8 +3,8 @@
"type": "forkbb-extension",
"description": "Test extension for ForkBB.",
"homepage": "https://forkbb.ru/",
"version": "1.0.2",
"time": "2023-10-28",
"version": "1.1.0",
"time": "2023-11-13",
"license": "MIT",
"authors": [
{
Expand All @@ -20,14 +20,21 @@
},
"require": {
"php": ">=8.0.0",
"forkbb/forkbb": ">=0.0070"
"forkbb/forkbb": ">=0.0074"
},
"extra": {
"display-name": "Test extension",
"requirements": {
"php": ">=8.0.0",
"forkbb": ">=70"
"forkbb": ">=74"
},
"symlinks": [
{
"type": "public",
"target": "img",
"link": "img/test-extension"
}
],
"templates": [
{
"type": "pre",
Expand Down
Binary file added img/3zuba.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions templates/mainFooterFirstStart0.forkbb.php
@@ -1 +1,2 @@
<img src="{{ $p->publicLink('/img/test-extension/3zuba.gif') }}" width="36" height="26" alt="3zuba">
<span>/ {{ $p->user->title() }} /</span>

0 comments on commit 642109d

Please sign in to comment.