How do I integrate isAdmin() into my own admin module?

A place to discuss and receive support for the Web Auction application.

How do I integrate isAdmin() into my own admin module?

Postby yvan » Mon May 11, 2009 11:53 am

I'm in the process of trying to extend the admin site with my own custom PHP module (for batch uploading and importing records).

I am not using the existing hooks for this within the DataFace framework. I'm instead just creating my own procedurally programmed module and integrating it into the admin via a popup layer.

I need to make certain that only users who are logged in as admin are able to access my custom PHP module, and am trying to make use of the isAdmin() function withing the functions.inc.php file. What is the proper way for me to go about this?

Thanks in advance,
- Yvan
yvan
 
Posts: 13
Joined: Tue Mar 24, 2009 12:48 pm

Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 15 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved