Source for file ajax.php
Documentation is available at ajax.php
* AJAX Function Call Stuff
* 2 - switch lock state on a given topic
* 3 - switch sticky state on a given topic
require_once( '../kernel/setup_inc.php' );
// Is package installed and enabled
$gBitSystem->verifyPackage( 'boards' );
// Now check permissions to access this page
'desc'=> "Parsing Error",
E_COMPILE_ERROR => array(
'desc'=> "Compile Error",
E_COMPILE_WARNING => array(
'desc'=> "Compile Warning",
'desc'=> "Runtime Notice",
// set of errors for which a var trace will be saved
if(!$errortype[$errno]['ignore']) {
header("HTTP/1.0 500 Internal Server Error");
echo "<h1>PHP Exception</h1>";
$str= "<br />\n<b>{$errortype[$errno]['desc']}</b>: $errstr in <b>$errfile</b> on line <b>$errline</b>\n<br />\n";
echo $str;//. "<pre>". htmlspecialchars(var_export($vars,true))."</pre>";
require_once( BOARDS_PKG_PATH. 'BitBoardPost.php' );
$comment->loadMetaData();
if (@$comment->verifyId($comment->mCommentId)) {
print $comment->mInfo['warned_message'];
|