mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
display raw errors during install
This commit is contained in:
parent
d515364622
commit
c6eebad0cb
1 changed files with 6 additions and 0 deletions
|
@ -258,6 +258,12 @@ include(PHPWG_ROOT_PATH . 'admin/include/functions_upgrade.php');
|
|||
if (isset($_POST['install']))
|
||||
{
|
||||
install_db_connect($infos, $errors);
|
||||
|
||||
if (count($errors) > 0)
|
||||
{
|
||||
print_r($errors);
|
||||
}
|
||||
|
||||
pwg_db_check_charset();
|
||||
|
||||
$webmaster = trim(preg_replace('/\s{2,}/', ' ', $admin_name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue