Skip to content

Instantly share code, notes, and snippets.

View mstraczkowski's full-sized avatar

Maciej Strączkowski mstraczkowski

View GitHub Profile
@mstraczkowski
mstraczkowski / regenerate_prestashop_1.7_keys.php
Last active February 20, 2022 21:50
Simple script to regenerate prestashop 1.7 keys for encryption etc... (increase security in case of duplicating prestashop instances).
<?php
// Be sure you are at root directory
// Loading prestashop configuration
require __DIR__ . '/config/config.inc.php';
// Loading parameters array
$parameters = require __DIR__ . '/app/config/parameters.php';