Overview
SHA1:7eabb585e6f623b9264feb9ce9c871a7599d6c05
Date: 2017-10-17 00:13:48
User: bohwaz
Comment:Créer le répertoire compiled si nécessaire
Timelines: family | ancestors | descendants | both | dev
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2017-10-18
01:20
[e0c5cd4545] Suppression console.log qui traînait (user: bohwaz, tags: dev)
2017-10-17
00:13
[7eabb585e6] Créer le répertoire compiled si nécessaire (user: bohwaz, tags: dev)
00:10
[64816bfed3] Correction appel méthode erroné (user: bohwaz, tags: dev)
Changes

Modified src/include/lib/Garradin/Template.php from [855aa2d829] to [cd7b38a702].

15
16
17
18
19
20
21





22
23
24
25
26
27
28

	private function __clone()
	{
	}

	public function __construct()
	{





		self::setCompileDir(CACHE_ROOT . '/compiled');
		self::setTemplateDir(ROOT . '/templates');

		parent::__construct();

		$this->assign('www_url', WWW_URL);
		$this->assign('self_url', Utils::getSelfUrl());







>
>
>
>
>







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

	private function __clone()
	{
	}

	public function __construct()
	{
		if (!file_exists(CACHE_ROOT . '/compiled'))
		{
			mkdir(CACHE_ROOT . '/compiled');
		}

		self::setCompileDir(CACHE_ROOT . '/compiled');
		self::setTemplateDir(ROOT . '/templates');

		parent::__construct();

		$this->assign('www_url', WWW_URL);
		$this->assign('self_url', Utils::getSelfUrl());