Archive: oninit User Check?


oninit User Check?
With some help, I've made a function which on initialisation will process a custom page. I was just wondering, if it's possible to make two on init functions? I guess I'd need to check if the user has admin privelage or not, and either continue or abort the install depending on the result.. Thanks for any help :)


check before showing the custom page