Jump to content

login page

Recommended Posts

Multumesc , dar nu ma refeream chiar la asta.

Vreau cand intra cineva pe site , sa fie doar nume si parola , sa nu poata sa faca nimic altceva decat dupa autentificare .

Link to comment
Share on other sites

modifica in classes/FrontController functia preProcess

public function preProcess()
  if (!self::$cookie->isLogged() && self::$smarty->tpl_vars['page_name']->value !== 'authentication')


apoi va trebui sa creezi o pagina similara cu authentication si modifici codul de mai sus corespunzator

bafta !

Edited by valentin.g (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...