Enable photoswipe addon by default, both on PC and mobile

This commit is contained in:
Kijin Sung 2021-01-22 01:24:26 +09:00
parent e507cd9684
commit a3d2682744
3 changed files with 14 additions and 3 deletions

View file

@ -17,8 +17,9 @@ class addon extends ModuleObject
{
// Register to add a few
$oAddonController = getAdminController('addon');
$oAddonController->doInsert('autolink', 0, 'site', 'Y');
$oAddonController->doInsert('resize_image', 0, 'site', 'Y');
$oAddonController->doInsert('autolink', 0, 'site', 'YY');
$oAddonController->doInsert('photoswipe', 0, 'site', 'YY');
$oAddonController->doInsert('resize_image', 0, 'site', 'YY');
$oAddonController->makeCacheFile(0);
}