vBGallery importer fails with safe_mode setting

Affected version
2.1.8

Kirby

Well-known member
vBGallery had a setting to support safe_mode/open_basedir restrictions.

If this setting (table ppgal_settings fieldname varname = gallery_insafemode with fieldname value = 1) was enabled, the files were stored directly in thje configured directory and not in subdirectories based on the userid.

Currently, the importer does not query this setting and always expects the files to be in subdirectories which causes all media items to fail.
 
Top