[CWB] page only for admin

"Andrés Chandía" andres at chandia.net
Wed Jul 12 20:40:51 CEST 2017



Hi there, I'm trying to add a page inside a corpus that should be accessible only for admin
users

which php function should I use?

something like

<?php include("../lib/justforadmin.php"); ?>

or something
else?

I don't need to format the page into the cqpweb template, only reject other
users appart from admin to see it.


Thanks...



_______________________

            andrés
chandía

NMT |
Dungupeyem | Corlexim

administrador de:
Parles.upf | Amind
terapia | Mapuche koyaktu | Nocando |
mail: ONG Mapuche koyaktu | Psicoaching |
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170712/99ab36a5/attachment.html>


More information about the CWB mailing list