Hello everyone.
someone know how to display phpinfo only for the admin and just when he is logged?
Hmmm… I am not sure if I understand correctly, but you can go as admin to Administration > System Information > Extended PHP Information. Is this what you mean?
Best,
Bozana
exactly.
but anyone with the link can access the Extended PHP Information (phpinfo) and that cause a security issue.
Hmmm…
If someone tries to access that URL and is not logged it, he/she will be redirected to the login page. If someone is logged in but not admin
, the access denied error message “The current role does not have access to this operation.” is returned/displayed.
Or do I misunderstand something?
hello bozana. =] sorry for take so long to answer. that is exactly what i like to do. the ojs aloud this? or i have to do something tricky like set a .htacces or something else?
Hi @falexandremc,
this is working exactly how you need, and @bozana is saying you the same thing.
look, try to see my PHP info in my OJS test: http://biologos.cl/index.php/test/admin/phpinfo
can you??
thanks. now i am seeing. maybe my cache has tricky me XD