Overview
SHA1:f896a8268bd097b7a20865b7236d5c1f96f9d7b9
Date: 2017-09-04 07:30:57
User: bohwaz
Comment:Fix plugin install CSRF key
Timelines: family | ancestors | descendants | both | dev
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2017-09-05
02:05
[9d0e5678d2] Corrections pour installation de plugin (user: bohwaz, tags: dev)
2017-09-04
07:30
[f896a8268b] Fix plugin install CSRF key (user: bohwaz, tags: dev)
07:07
[4e5588b1ba] Corrections pour les changements liés à la migration vers UserSession (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);