October 8, 20188 yr Dear, i am making a override from carrier, but in then i will check if the load is from front office, or backoffice. How i can get this information in override? Thanks Mauro
October 9, 20188 yr You can simply check if _PS_ADMIN_DIR_ is defined. Alternatively, you can look what controller is currently in use - Context::getInstance()->controlller. Can I ask what you are trying to achieve? It seems really strange that the logic override should behave differently for backed/frontend
Create an account or sign in to comment