aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user/makeadmin.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/user/makeadmin.php')
-rw-r--r--actions/admin/user/makeadmin.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/admin/user/makeadmin.php b/actions/admin/user/makeadmin.php
index b3e5ae8fc..e3fbac7e7 100644
--- a/actions/admin/user/makeadmin.php
+++ b/actions/admin/user/makeadmin.php
@@ -8,7 +8,6 @@
* @link http://elgg.org/
*/
-require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php");
global $CONFIG;
// block non-admin users
@@ -30,4 +29,4 @@ if (($obj instanceof ElggUser) && ($obj->canEdit())) {
register_error(elgg_echo('admin:user:makeadmin:no'));
}
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward($_SERVER['HTTP_REFERER']);