Elite_360_
11-20-2012, 01:37 AM
need to know how to make a plugin not run in the admincp its a username markup and dont want it to run it there because it show the markup when you try to login the admincp where you enter your User Name
if(THIS_SCRIPT !== 'admincp/index?????'){
my code
}
i know i can do it this way just have to add to many THIS_SCRIPT and would like the code to be short
if(THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'member' OR THIS_SCRIPT == 'calendar' "About ten more THIS_SCRIPT" ){
my code
}
if(THIS_SCRIPT !== 'admincp/index?????'){
my code
}
i know i can do it this way just have to add to many THIS_SCRIPT and would like the code to be short
if(THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'member' OR THIS_SCRIPT == 'calendar' "About ten more THIS_SCRIPT" ){
my code
}