Disable "Swap Comics" pending further investigation.
Disable "Swap Comics" pending further investigation.

File last commit:

104fb88d66f8
81988dfe45dd
Show More
post-scratchpad.php
14 lines | 394 B | text/x-php | PhpLexer
/ post-scratchpad.php
Add most necessary files for admin interface.
r1 <?php
require_once('include/admin.inc.php');
auth_redirect(); // Require logged in user to access this page.
check_nonce('new-scratchpad');
Update database code in a few more script files.
r33 $dbConnection->executeUpdate('INSERT INTO scratchpad (contributor, message) VALUES (?, ?)', array($currentuser->id, $_REQUEST['message']));
Add most necessary files for admin interface.
r1
adminlog("User posted to scratchpad.", MTS_SCRATCH, MTA_INSERT);
_redirect( ADMIN_PATH . '/index.php' );
?>