Fix warning
This commit is contained in:
parent
f8d674f324
commit
4d313cfd6a
1 changed files with 6 additions and 0 deletions
|
|
@ -27,6 +27,11 @@
|
|||
|
||||
define('ALLOWED_IF_UPGRADE_UNLOCK_FOUND', 1);
|
||||
include_once 'inc.php';
|
||||
/**
|
||||
* @var string $conffile
|
||||
* @var ?string $dolibarr_main_url_root
|
||||
*/
|
||||
'@phan-var-force string $conffile'; // From inc.php
|
||||
include_once '../core/class/html.form.class.php';
|
||||
include_once '../core/class/html.formadmin.class.php';
|
||||
|
||||
|
|
@ -36,6 +41,7 @@ $err = 0;
|
|||
|
||||
// If the config file exists and is filled, we're not on first install so we skip the language selection page
|
||||
if (file_exists($conffile) && isset($dolibarr_main_url_root)) {
|
||||
//header("Location: '.$dolibarr_main_url_root.'/install/check.php?testget=ok");
|
||||
header("Location: check.php?testget=ok");
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue