Overview
Comment:Fix plugin install CSRF key
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: f896a8268bd097b7a20865b7236d5c1f96f9d7b9
User & Date: bohwaz on 2017-09-04 07:30:57
Other Links: branch diff | manifest | tags
Context
2017-09-05
02:05
Corrections pour installation de plugin check-in: 9d0e5678d2 user: bohwaz tags: dev
2017-09-04
07:30
Fix plugin install CSRF key check-in: f896a8268b user: bohwaz tags: dev
07:07
Corrections pour les changements liés à la migration vers UserSession check-in: 4e5588b1ba user: bohwaz tags: dev
Changes

Modified src/www/admin/config/plugins.php from [bbcf5eb592] to [946c67d622].

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

namespace Garradin;

require_once __DIR__ . '/_inc.php';

if (f('install'))
{
    $form->check('install_plugins', [
        'plugin' => 'required',
    ]);

    if (!$form->hasErrors())
    {
        try {
            Plugin::install(f('to_install'), false);







|







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

namespace Garradin;

require_once __DIR__ . '/_inc.php';

if (f('install'))
{
    $form->check('install_plugin', [
        'plugin' => 'required',
    ]);

    if (!$form->hasErrors())
    {
        try {
            Plugin::install(f('to_install'), false);