Answer the question
In order to leave comments, you need to log in
Why doesn't ajax work when using define php?
Good afternoon, when using the define constant, ajax stops working, while all other functions work, and ajax answers that there is no constant.
Handler The
file from which ajax calls to the handler
defined('_JEXEC') or die('Restricted access');
define( '_JEXEC', 1 )
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question