From 8b56f01679f313e8c285ee2a9e06f8e18314e1c9 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 21 Feb 2018 21:51:15 +0100 Subject: [PATCH] Fix host per problemi installazione --- include/configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configuration.php b/include/configuration.php index abf381b7b..6a725138c 100644 --- a/include/configuration.php +++ b/include/configuration.php @@ -18,8 +18,8 @@ if (file_exists($docroot.'/include/custom/top.php')) { } // Controllo sull'esistenza di nuovi parametri di configurazione -if (post('db_host') !== null) { - $db_host = post('db_host'); +if ($_POST['db_host'] !== null) { + $db_host = $_POST['db_host']; $db_name = post('db_name'); $db_username = post('db_username'); $db_password = post('db_password');