Files
newwalls.pl/modules/ph_simpleblog/upgrade/install-1.1.1.php
2024-12-17 13:43:22 +01:00

29 lines
1.0 KiB
PHP

<?php
/**
* Blog for PrestaShop module by Krystian Podemski from PrestaHome.
*
* @author Krystian Podemski <krystian@prestahome.com>
* @copyright Copyright (c) 2014-2016 Krystian Podemski - www.PrestaHome.com / www.Podemski.info
* @license You only can use module, nothing more!
*/
if (!defined('_PS_VERSION_')) {
exit;
}
function upgrade_module_1_1_1($object)
{
Configuration::updateValue('PH_RECENTPOSTS_NB', '4');
Configuration::updateValue('PH_RECENTPOSTS_CAT', '0');
Configuration::updateValue('PH_RECENTPOSTS_POSITION', 'home');
Configuration::updateValue('PH_BLOG_DISPLAY_AUTHOR', '1');
Configuration::updateValue('PH_BLOG_DISPLAY_DATE', '1');
Configuration::updateValue('PH_BLOG_DISPLAY_THUMBNAIL', '1');
Configuration::updateValue('PH_BLOG_DISPLAY_CATEGORY', '1');
Configuration::updateValue('PH_BLOG_DISPLAY_SHARER', '1');
Configuration::updateValue('PH_BLOG_DISPLAY_TAGS', '1');
Configuration::updateValue('PH_BLOG_DISPLAY_DESCRIPTION', '1');
return true;
}