diff --git a/htdocs/install/index.php b/htdocs/install/index.php index c089a90fdf4..41dd768a0e1 100644 --- a/htdocs/install/index.php +++ b/htdocs/install/index.php @@ -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; }