mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 17:34:31 +00:00
27 lines
583 B
PHP
27 lines
583 B
PHP
<?php
|
|
if (!defined('PHPWG_ROOT_PATH'))
|
|
{
|
|
die('Hacking attempt!');
|
|
}
|
|
|
|
function bratonien_tools_nc_wizard_save_technical_flow()
|
|
{
|
|
$result = bratonien_tools_nc_wizard_save_technical_with_known_database();
|
|
$state = bratonien_tools_nc_wizard_state();
|
|
|
|
if ((string)($state['technical_stage'] ?? '') === 'mounts')
|
|
{
|
|
if (!empty($state['directory_selection_ready']))
|
|
{
|
|
bratonien_tools_nc_wizard_refresh_directory_state($state, '');
|
|
}
|
|
else
|
|
{
|
|
$state['mount_prompted'] = true;
|
|
}
|
|
bratonien_tools_nc_wizard_store($state);
|
|
}
|
|
|
|
return $result;
|
|
}
|