// Is there an error which is not fine?
if (!isAjaxHttpStatusAccepted()) {
// The process was handled but didn't work
- reportBug(__FUNCTION__, __LINE__, 'AJAX request is valid but does not do anything.');
+ reportBug(__FUNCTION__, __LINE__, 'AJAX request level=' . isPostRequestElementSet('level') . ',status=' . getHttpStatus() . ',callback[' . gettype($GLOBALS['ajax_callback_function']) . ']=' . $GLOBALS['ajax_callback_function'] . ' is valid but does not do anything.');
} // END - if
} else {
// Not allowed
'reply_content' => NULL,
);
+ // Init call-back debug information
+ $GLOBALS['ajax_callback_function'] = NULL;
+
// Set content type (mostly JSON)
setContentType('application/json');
// Again we do a call-back, so generate a function name depending on 'do'
$callbackName = 'doAjaxAdmin' . capitalizeUnderscoreString(postRequestElement('do'));
+ $GLOBALS['ajax_callback_function'] = $callbackName;
// Is the call-back function there?
if (!function_exists($callbackName)) {
// Again we do a call-back, so generate a function name depending on 'do'
$callbackName = 'doAjaxInstaller' . capitalizeUnderscoreString(postRequestElement('do'));
+ $GLOBALS['ajax_callback_function'] = $callbackName;
// Is the call-back function there?
if (!function_exists($callbackName)) {
User-agent: searchpreview
Disallow: /
-# This is for my webpages
+# This is for my web pages using spider-trap
User-agent: *
Disallow: /guestbook/
Disallow: /blacklist.txt