Neredeyse benim denetleyicisi çoğunda tüm fonksiyonlarda i aynı şeyleri görmek zorunda. yani
1.Check if logged in. 2.Check the privilege.
I know how to do it. But what is the best way, so that i don't have to re-write the same code everywhere? Is it to make a helper or something? I'm a bit new to codeigniter, all i know is basic php!