Overview
Comment:Fix missing file
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable | 0.9.6
Files: files | file ages | folders
SHA1: 9f520c527ce200bdfb5c60910b9d696ea812b267
User & Date: bohwaz on 2020-05-01 16:48:47
Other Links: manifest | tags
Context
2020-05-02
00:33
Ne pas permettre de s'auto-modifier pour ne pas se tirer une balle dans le pied check-in: 51cbf72693 user: bohwaz tags: trunk, stable
2020-05-01
16:48
Fix missing file check-in: 9f520c527c user: bohwaz tags: trunk, stable, 0.9.6
14:07
Correction typo pour le cas où on utilise le serveur web de PHP check-in: a76b6b65e3 user: bohwaz tags: trunk, stable, 0.9.6
Changes

Added src/www/plugin.php version [3b761f779d].































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace Garradin;

require_once __DIR__ . '/_inc.php';

$page = !empty($_GET['_u']) ? $_GET['_u'] : 'index.php';

$plugin = new Plugin(!empty($_GET['_p']) ? $_GET['_p'] : null);

define('Garradin\PLUGIN_ROOT', $plugin->path());
define('Garradin\PLUGIN_URL', WWW_URL . 'p/' . $plugin->id() . '/');
define('Garradin\PLUGIN_QSP', '?');

$plugin->call('public/' . $page);