Add meta generator in install pages

This commit is contained in:
Laurent Destailleur 2018-04-22 12:10:53 +02:00
parent 338bf9b05c
commit 06cbc19103
2 changed files with 8 additions and 1 deletions

View File

@ -269,7 +269,13 @@ script:
set -e
wget -O - http://127.0.0.1 > test.html
head test.html
set +e
echo
- |
echo "Checking webserver availability by a wget -O - http://127.0.0.1/index.php"
# Ensure we catch errors
set -e
wget -O - http://127.0.0.1/index.php > test.php
head test.php
set +e

View File

@ -391,8 +391,9 @@ function pHeader($subtitle,$next,$action='set',$param='',$forcejqueryurl='',$css
print '<!DOCTYPE HTML>'."\n";
print '<html>'."\n";
print '<head>'."\n";
print '<meta charset='.$conf->file->character_set_client.'">'."\n";
print '<meta charset="'.$conf->file->character_set_client.'">'."\n";
print '<meta name="viewport" content="width=device-width, initial-scale=1.0">'."\n";
print '<meta name="generator" content="Dolibarr installer">'."\n";
print '<link rel="stylesheet" type="text/css" href="default.css">'."\n";
print '<!-- Includes CSS for JQuery -->'."\n";