header.php only for Admin header.php only for Admin
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

header.php only for Admin

Started by docjackdaniel, Yesterday at 04:33:15 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

docjackdaniel

Hello, is there any way to secure the header.php only for admins ?

I put some links there to make a databasecopy and some other tools.
but i don`t want that every user couls follow my Links..
can i put a query in the header that the links are only shown for an admin user ?!
Or, better.. Some Links if it´s a user and other Links if it`s a admin ?!

Daniel

ron4mac

There is no header.php so I'm not sure what you are referring to. But you can place the shell of an admin tool in tools to just present said links to you.