Last active
December 16, 2015 10:39
-
-
Save phenix-factory/5421233 to your computer and use it in GitHub Desktop.
SPIP: plugin Entravaux: autoriser les admins et les auteurs. A mettre dans mes_options.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function autoriser_travaux($faire,$quoi,$id,$qui,$opts){ | |
if ($qui['statut']=='0minirezo' or $qui['statut']=='1comite') | |
return true; | |
return false; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment