Overview
Comment:Fix upgrade web
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: b861d2cec10b2106150e9caf6c20bbcf68ed415f
User & Date: bohwaz on 2020-12-05 14:34:57
Other Links: branch diff | manifest | tags
Context
2020-12-05
18:00
Add print button to projects check-in: 07c7dcecff user: bohwaz tags: dev
14:34
Fix upgrade web check-in: b861d2cec1 user: bohwaz tags: dev
14:08
iterable doesn't include \stdClass sadly, fix check-in: eba7bd3cf5 user: bohwaz tags: dev
Changes

Modified src/www/admin/upgrade.php from [c92e73bdbf] to [0bcf1f55dd].

4
5
6
7
8
9
10

11


12
13
14
15
16
17
18

const UPGRADE_PROCESS = true;

require_once __DIR__ . '/../../include/test_required.php';
require_once __DIR__ . '/../../include/init.php';

$config = Config::getInstance();

Upgrade::preCheck();



echo '<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, target-densitydpi=device-dpi" />
    <link rel="stylesheet" type="text/css" href="static/admin.css" media="all" />







>
|
>
>







4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

const UPGRADE_PROCESS = true;

require_once __DIR__ . '/../../include/test_required.php';
require_once __DIR__ . '/../../include/init.php';

$config = Config::getInstance();

if (!Upgrade::preCheck()) {
	throw new UserException('Aucune mise à jour à effectuer, tout est à jour :-)');
}

echo '<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, target-densitydpi=device-dpi" />
    <link rel="stylesheet" type="text/css" href="static/admin.css" media="all" />