Initial commit: is_themecore out of the box v4.1.3

This commit is contained in:
Isabelle Anno
2025-11-19 13:17:30 +01:00
committed by Isabelle
commit 5d80babd5a
333 changed files with 33026 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<?php
if (!defined('_PS_VERSION_')) {
exit;
}
if (file_exists(dirname(__FILE__) . '../vendor/autoload.php')) {
require_once dirname(__FILE__) . '../vendor/autoload.php';
}
use Oksydan\Module\IsThemeCore\Form\Settings\GeneralConfiguration;
function upgrade_module_4_1_0($module)
{
$success = $module->installPartytown();
$success &= Configuration::updateValue(GeneralConfiguration::THEMECORE_LOAD_PARTY_TOWN, false);
$success &= Configuration::updateValue(GeneralConfiguration::THEMECORE_DEBUG_PARTY_TOWN, false);
return $success;
}