![]() |
Additional admin files
Hi, i was just wondering if anybody knows how to make another page, that uses the admin protection (so you have to log in via the admin cp to access the files)?
This is because i want to add a couple of files to the admin directory, but obviously they'll need protecting... (if that makes sense?!) Thanks in advance to anybody that does help! |
If i understand you correctly. Then add this at the top below
<?php of the file you want protected. PHP Code:
|
yeah, that works! thanks!!!
|
YW.. Glad i could help.
|
you should also use cpheader and cpfooter functions and the adminlog function :)
just to make em fit into the acp correctly :) |
Yes. Thanks xenon.. I forgot about that.
|
Quote:
Thanks in advance if you help... |
just add adminlog(); below cpheader is enough normally :)
|
All times are GMT. The time now is 06:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|