Overview
Comment:Check for SQLite3 very early, or it will be done by KD2\DB\SQLite3 and will throw an exception
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: fe9e98e7a7a5b362cb6f1801cd0d3b94666ddc94
User & Date: bohwaz on 2020-11-25 12:35:45
Other Links: branch diff | manifest | tags
Context
2020-11-25
12:36
Config: only include images check-in: 491a0dc0f2 user: bohwaz tags: dev
12:35
Check for SQLite3 very early, or it will be done by KD2\DB\SQLite3 and will throw an exception check-in: fe9e98e7a7 user: bohwaz tags: dev
2020-11-24
18:19
Fix bug with from URL check-in: f29afbeb0d user: bohwaz tags: dev
Changes

Modified src/include/init.php from [93eb7dfdc6] to [94cb9d23a4].

42
43
44
45
46
47
48





49
50
51
52
53
54
55
	if (@file_exists($file))
	{
		return substr(trim(file_get_contents($file)), 0, 10);
	}

	return false;
}






/*
 * Configuration globale
 */

// Configuration externalisée
if (file_exists(__DIR__ . '/../config.local.php'))







>
>
>
>
>







42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
	if (@file_exists($file))
	{
		return substr(trim(file_get_contents($file)), 0, 10);
	}

	return false;
}

if (!defined('\SQLITE3_OPEN_READWRITE')) {
	echo 'Le module de base de données SQLite3 n\'est pas disponible.' . PHP_EOL;
	exit(1);
}

/*
 * Configuration globale
 */

// Configuration externalisée
if (file_exists(__DIR__ . '/../config.local.php'))