diff options
| author | polo <ordipolo@gmx.fr> | 2025-10-23 14:15:01 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2025-10-23 14:15:01 +0200 |
| commit | f9a9bf1ae4fac9317fd71f0bcb207544b000e6f1 (patch) | |
| tree | a0ca5cdc0374529b80951d7d126f1c49442bae68 /src/model/entities/Asset.php | |
| parent | db5521f7b194190013dd0ad606a018ab68464562 (diff) | |
| download | cms-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.php | 3 |
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")] |
| 12 | class Asset | 12 | class 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")] |
