Overview
Comment:We need WWW_URL constant to get file URL
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 66735115978cf8b9eb0a64c4043fc7d3a7006d67
User & Date: bohwaz on 2020-12-13 00:31:41
Other Links: branch diff | manifest | tags
Context
2020-12-13
00:32
Refactor background image getter check-in: 4f07ae5b2c user: bohwaz tags: dev
00:31
We need WWW_URL constant to get file URL check-in: 6673511597 user: bohwaz tags: dev
00:31
Fix config constructor check-in: 755dee3526 user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/Entities/Files/File.php from [419025821b] to [aca14b6fd1].

1
2
3
4
5
6
7
8


9
10
11
12
13
14
15
<?php

namespace Garradin\Entities\Files;

use KD2\Image;
use Garradin\DB;
use Garradin\Entity;
use Garradin\UserException;



class File extends Entity
{
	const TABLE = 'files';

	protected $id;
	protected $folder_id;








>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

namespace Garradin\Entities\Files;

use KD2\Image;
use Garradin\DB;
use Garradin\Entity;
use Garradin\UserException;

use const Garradin\WWW_URL;

class File extends Entity
{
	const TABLE = 'files';

	protected $id;
	protected $folder_id;