Fixing a small css issue in the user class.
[elgg.git] / _users / action_redirection.php
blobf719fd8c473f5b51a5dc0d9d547b1de1b2eb91f9
1 <?php
3 // ELGG weblog perform-action-then-redirect page
5 // Run includes
6 require_once(dirname(dirname(__FILE__))."/includes.php");
8 run("users:init");
10 global $redirect_url;
11 global $messages;
13 if (isset($messages) && sizeof($messages) > 0) {
14 $_SESSION['messages'] = $messages;
17 if (defined('redirect_url')) {
18 header("Location: " . redirect_url);
19 } else {
20 header("Location: " . url);