how to load the auth in the moudle not application

In my application,all of the management functions are in a module.

and I want just use authManager in this module not in the application.

because this will makes a lot of useless query.

how can i do ??

thanks.

hmm, I can’t get the useless query part, can you elaborate?

OMG, i’m sry for my mistake.

thanks for your help.

i had double check the logs, Yii is very smarty,it is not load the auth component.