ZM_PATH_SHUTDOWN is not defined. This is normally configured in /etc/zm/conf.d/01-system-paths.conf
'; } else if ( !file_exists(ZM_PATH_SHUTDOWN) ) { echo '
Path does not exist for ZM_PATH_SHUTDOWN. Current value is '.ZM_PATH_SHUTDOWN.'
'; } else { ?>
'.implode('
', $output).'

'; } if ( isset($_POST['when']) and ($_POST['when'] != 'NOW') and ($action != 'cancel') ) { echo '

You may cancel this shutdown by clicking '.translate('Cancel').'

'; } ?>

Warning

This command will either shutdown or restart all ZoneMinder Servers