mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 18:44:30 +00:00
NC-Wizard technischen Schrittfluss konsolidieren
This commit is contained in:
26
include/nc_connector_wizard_flow.inc.php
Normal file
26
include/nc_connector_wizard_flow.inc.php
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<?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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user