hugolopez1 Posted July 5, 2016 Share Posted July 5, 2016 Cree una página nueva (sin usar CMS), pero cada vez que quiero entrar en esa página me manda al login, ¿Como puedo hacer que pueda acceder sin loguear?. Link to comment Share on other sites More sharing options...
ventura Posted July 5, 2016 Share Posted July 5, 2016 Revisa el controlador que has creado y en caso de tener lo siguiente eliminalo public $php_self = 'authentication'; Link to comment Share on other sites More sharing options...
hugolopez1 Posted July 5, 2016 Author Share Posted July 5, 2016 Así esta mi controlador: <?phpclass VentasCorporativasControllerCore extends FrontController{public $php_self = 'ventas-corporativas';public $auth = true;public $ssl = true;public function initContent(){parent::initContent();$this->setTemplate(_PS_THEME_DIR_.'ventas_corporativas.tpl');}} Link to comment Share on other sites More sharing options...
ventura Posted July 6, 2016 Share Posted July 6, 2016 Cierto, queria decir que pusieras esto asi o que lo eliminaras directamente public $auth = false; Link to comment Share on other sites More sharing options...
hugolopez1 Posted July 6, 2016 Author Share Posted July 6, 2016 Resuelto. Gracias Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now