H
H
Hannskod2018-03-02 20:30:37
PHP
Hannskod, 2018-03-02 20:30:37

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

1 answer(s)
M
Maxim, 2018-03-02
Alexsev @MaxGoody

First, the essence of the question is not clear.
Secondly, how can Ajax notify that a constant does not exist from PHP ?
Thirdly, there are no psychics here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question