dépôts
/
lhc
/
web
/
clavette_www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~v3.0.20-->v3.0.25
[lhc/web/clavette_www.git]
/
www
/
ecrire
/
inc
/
auth.php
diff --git
a/www/ecrire/inc/auth.php
b/www/ecrire/inc/auth.php
index
be9e706
..
c4b6f20
100644
(file)
--- a/
www/ecrire/inc/auth.php
+++ b/
www/ecrire/inc/auth.php
@@
-3,7
+3,7
@@
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-201
4
*
+ * Copyright (c) 2001-201
6
*
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
@@
-325,9
+325,18
@@
function auth_administrer($fonction,$args,$defaut=false){
if ($auth = charger_fonction($auth_methode,'auth',true)
AND function_exists($f="auth_{$auth_methode}_$fonction")
)
if ($auth = charger_fonction($auth_methode,'auth',true)
AND function_exists($f="auth_{$auth_methode}_$fonction")
)
-
return
call_user_func_array($f, $args);
+
$res =
call_user_func_array($f, $args);
else
else
- return $defaut;
+ $res = $defaut;
+ $res = pipeline('auth_administrer',array(
+ 'args' => array(
+ 'fonction' => $fonction,
+ 'methode' => $auth_methode,
+ 'args' => $args
+ ),
+ 'data' => $res
+ ));
+ return $res;
}
/**
}
/**