Answer the question
In order to leave comments, you need to log in
How to get the id of the authorized user?
I need to get the id of the authorized user. I use Kohana framework, Auth module (driver - ORM). How?
Answer the question
In order to leave comments, you need to log in
Auth::instance()->get_user()->id
I have never seen Kohanu, but I found the answer to your question in a minute and in one search query.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question