Oh, right, I didn't think about the fact that it's always the modcp global.php. Anyway, there are no THIS_SCRIPT values in the cp scripts. But I did a search and no other scripts use a 'do' value of 'dobanuser', so it's probably OK just to check that. I think there is a way in php to check the requested file name (obviously the current file will always be global.php), if you want to look in to that.
|