Merge branch 'master' of ssh://git.gamuza.fr:2222/Gamuza/bigform
This commit is contained in:
commit
68aa039f70
2 changed files with 13 additions and 4 deletions
|
@ -1,10 +1,19 @@
|
|||
<?php
|
||||
if (!defined('_ECRIRE_INC_VERSION')) return;
|
||||
|
||||
function action_charger_document_dist(){
|
||||
function action_charger_document_dist($arg=null){
|
||||
|
||||
$securiser_action = charger_fonction('securiser_action', 'inc');
|
||||
$arg = $securiser_action();
|
||||
if (is_null($arg)) {
|
||||
// DEMI sécurité : s'il y a un hash, on teste la sécurité
|
||||
if (_request('hash')) {
|
||||
$securiser_action = charger_fonction('securiser_action', 'inc');
|
||||
$arg = $securiser_action();
|
||||
}
|
||||
// Sinon, on prend l'arg direct
|
||||
else {
|
||||
$arg = _request('arg');
|
||||
}
|
||||
}
|
||||
|
||||
include_spip('inc/autoriser');
|
||||
if (! autoriser("charger","document")) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<paquet
|
||||
prefix="bigform"
|
||||
categorie="edition"
|
||||
version="1.1.2"
|
||||
version="1.1.3"
|
||||
etat="dev"
|
||||
compatibilite="[3.2.5;3.3.*]"
|
||||
logo="prive/themes/spip/images/bigform-64.png"
|
||||
|
|
Loading…
Add table
Reference in a new issue