Don't expose the path when calling ajax.php directly in non-debug-mode.

This fixes https://github.com/forkcms/forkcms/issues/604