![]() |
GLOBAL var for admincp?
Is there some sort of global variable which defines whether or not you are in the AdminCP?
What I am trying to do is following condition within hook: fetch_userinfo if (!$within_admincp) { // do code here... } |
Perhaps try one of the constants that is defined at the start of the admincp global.php file:
Code:
// identify where we are |
works - thanks Calorie
|
All times are GMT. The time now is 02:40 PM. |
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:
|