aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/javascript.php
blob: cb783f7da83cd15b87453baaa7ba89382d3902f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * Elgg profile JS
 * 
 * @package ElggProfile
 */

// Get engine
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");

header("Content-type: text/javascript");
header('Expires: ' . date('r',time() + 864000));
header("Pragma: public");
header("Cache-Control: public");
echo elgg_view('profile/javascript');