Overview
Comment:Créer le répertoire compiled si nécessaire
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 7eabb585e6f623b9264feb9ce9c871a7599d6c05
User & Date: bohwaz on 2017-10-17 00:13:48
Other Links: branch diff | manifest | tags
Context
2017-10-18
01:20
Suppression console.log qui traînait check-in: e0c5cd4545 user: bohwaz tags: dev
2017-10-17
00:13
Créer le répertoire compiled si nécessaire check-in: 7eabb585e6 user: bohwaz tags: dev
00:10
Correction appel méthode erroné check-in: 64816bfed3 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());