PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/models/license.php +11 -2 1.6.4 → 1.8.16 View file →
@@ -212,10 +212,10 @@
212 212 // define the filepath in which the data will be pushed
213 213 'filename' => $tmp . DIRECTORY_SEPARATOR . 'vikbookingpro.zip',
214 214 // make sure the request is non blocking
215 215 'blocking' => true,
216 - // force timeout to 60 seconds
217 - 'timeout' => 60,
216 + // force timeout to 120 seconds
217 + 'timeout' => 120,
218 218 // disable the SSL peer verification
219 219 'sslverify' => false,
220 220 );
221 221
@@ -332,8 +332,17 @@
332 332 }
333 333
334 334 // process complete, clean up the temporary folder before exiting
335 335 JFolder::delete($dest);
336 +
337 + /**
338 + * Trigger an action when the Pro version has been downloaded.
339 + *
340 + * @param string $key the license key validated.
341 + *
342 + * @since 1.6.6
343 + */
344 + do_action('vikbooking_license_after_complete', $key);
336 345
337 346 // restore template files that could have been overwritten by the Pro package
338 347 VikBookingLoader::import('update.manager');
339 348 VikBookingUpdateManager::restoreTemplateFiles();