blob: 4533939ed6845770a28d9de8afaf058b57fcd0f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
/**
* Elgg blog autosaver
*/
// Load engine
require_once(dirname(dirname(dirname(__FILE__))) . '/engine/start.php');
gatekeeper();
// Get input data
$title = $_POST['blogtitle'];
$body = $_POST['blogbody'];
$tags = $_POST['blogtags'];
$_SESSION['user']->blogtitle = $title;
$_SESSION['user']->blogbody = $body;
$_SESSION['user']->blogtags = $tags;
?>
|