Skip to content

Commit 6910cf8

Browse files
author
Rafael Grigorian
committed
Fixed GH-21
1 parent c23133f commit 6910cf8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ networks:
1212
- subnet: "192.168.7.0/28"
1313
services:
1414
php-fpm:
15-
image: jetrails/magento-alpine:php-fpm-7.1
15+
image: jetrails/magento-alpine:php-fpm-7.2
1616
restart: unless-stopped
1717
volumes:
1818
- app-sync:/var/www/html:rw
@@ -26,7 +26,7 @@ services:
2626
- mysql
2727
- redis
2828
php-cli:
29-
image: jetrails/magento-alpine:php-cli-7.1
29+
image: jetrails/magento-alpine:php-cli-7.2
3030
volumes:
3131
- app-sync:/var/www/html:rw
3232
networks:
@@ -37,7 +37,7 @@ services:
3737
- mysql
3838
- redis
3939
php-cron:
40-
image: jetrails/magento-alpine:php-cron-7.1
40+
image: jetrails/magento-alpine:php-cron-7.2
4141
restart: unless-stopped
4242
volumes:
4343
- app-sync:/var/www/html:rw

src/app/code/JetRails/Varnish/view/adminhtml/templates/adminhtml/cache/index/cache_management.phtml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<div class="varnish-cache-management" >
1010
<h2>Varnish Cache™ Management</h2>
1111
<form method="post" action="<?= $block->getUrl ('varnish/purge/url') ?>" >
12+
<?php echo $block->getBlockHtml ("formkey") ?>
1213
<span>Purge By URL:</span>
1314
<input type="text" placeholder="URL" name="url" />
1415
<button type="submit" ><span>Purge</span></button>
@@ -19,6 +20,7 @@
1920
</select>
2021
</form>
2122
<form method="post" action="<?= $block->getUrl ('varnish/purge/store') ?>" >
23+
<?php echo $block->getBlockHtml ("formkey") ?>
2224
<span>Purge By Store:</span>
2325
<select name="id" class="admin__control-select" >
2426
<?php foreach ( $data->getStoreViews () as $storeView ): ?>
@@ -28,6 +30,7 @@
2830
<button type="submit" ><span>Purge</span></button>
2931
</form>
3032
<form method="post" action="<?= $block->getUrl ('varnish/purge/all') ?>" >
33+
<?php echo $block->getBlockHtml ("formkey") ?>
3134
<span style="margin-right: 324px;" >Purge All:</span>
3235
<button type="submit" ><span>Purge</span></button>
3336
</form>

0 commit comments

Comments
 (0)