This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Backup files and Database ... | |
mkdir NewVersionOfPrestashop | |
cd NewVersionOfPrestashop | |
//download new release | |
wget -O prestashop-upgrade.zip https://www.prestashop.com/download/old/prestashop_1.7.5.0.zip | |
unzip prestashop-upgrade.zip && unzip prestashop.zip | |
rm -rf img/ override/ prestashop-upgrade.zip unzip prestashop.zip | |
//rename admin with the admin name folder of your current installation | |
mv admin adminXYZ | |
cd currentInstallOfPrestashop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName my-domaine.fr | |
Redirect permanent / https://my-domaine.fr | |
</VirtualHost> | |
<VirtualHost *:443> | |
ServerName my-domaine.fr | |
DocumentRoot /myfolder/web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set asset_url = '/bundles/app/js/comment.js'%} | |
<script type="text/javascript"> | |
// thread container | |
var fos_comment_thread_container = $('{{ thread_container }}'); | |
// api base url to use for initial requests | |
var fos_comment_thread_api_base_url = '{{ path('fos_comment_get_threads') }}'; | |
// Snippet for asynchronously loading the comments |