aboutsummaryrefslogtreecommitdiff
path: root/src/model/entities/Asset.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2025-10-23 14:15:01 +0200
committerpolo <ordipolo@gmx.fr>2025-10-23 14:15:01 +0200
commitf9a9bf1ae4fac9317fd71f0bcb207544b000e6f1 (patch)
treea0ca5cdc0374529b80951d7d126f1c49442bae68 /src/model/entities/Asset.php
parentdb5521f7b194190013dd0ad606a018ab68464562 (diff)
downloadcms-f9a9bf1ae4fac9317fd71f0bcb207544b000e6f1.zip
téléchargement d'assets dans head, header et footer
Diffstat (limited to 'src/model/entities/Asset.php')
-rw-r--r--src/model/entities/Asset.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/model/entities/Asset.php b/src/model/entities/Asset.php
index e1071b4..e359e21 100644
--- a/src/model/entities/Asset.php
+++ b/src/model/entities/Asset.php
@@ -11,6 +11,9 @@ use Doctrine\ORM\Mapping as ORM;
11#[ORM\Table(name: TABLE_PREFIX . "asset")] 11#[ORM\Table(name: TABLE_PREFIX . "asset")]
12class Asset 12class Asset
13{ 13{
14 const PATH = 'assets/';
15 const USER_PATH = 'user_data/assets/';
16
14 #[ORM\Id] 17 #[ORM\Id]
15 #[ORM\GeneratedValue] 18 #[ORM\GeneratedValue]
16 #[ORM\Column(type: "integer")] 19 #[ORM\Column(type: "integer")]