first commit

This commit is contained in:
2024-11-11 18:46:54 +01:00
commit a630d17338
25634 changed files with 4923715 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
if (!defined('_PS_VERSION_')) {
exit;
}
require_once (dirname(__FILE__) . '/../x13allegro.php');
/**
* @return bool
*/
function upgrade_module_6_3_0()
{
XAllegroAutoLoader::getInstance()
->generateClassIndex()
->autoload();
if (!is_dir(_PS_MODULE_DIR_ . 'x13allegro/cache/json')) {
mkdir(_PS_MODULE_DIR_ . 'x13allegro/cache/json', 0775, true);
}
if (!is_dir(_PS_MODULE_DIR_ . 'x13allegro/backups')) {
mkdir(_PS_MODULE_DIR_ . 'x13allegro/backups', 0775, true);
}
if (!is_dir(_PS_MODULE_DIR_ . 'x13allegro/backups/auctions')) {
mkdir(_PS_MODULE_DIR_ . 'x13allegro/backups/auctions', 0775, true);
}
XAllegroConfiguration::updateValue('PRICE_TAX', 1);
return true;
}