aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/user')
-rw-r--r--actions/admin/user/ban.php2
-rw-r--r--actions/admin/user/delete.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/admin/user/ban.php b/actions/admin/user/ban.php
index 256803bf5..5f2e214c4 100644
--- a/actions/admin/user/ban.php
+++ b/actions/admin/user/ban.php
@@ -10,7 +10,7 @@
* @link http://elgg.org/
*/
- require_once("../../../engine/start.php");
+ require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php");
// block non-admin users
admin_gatekeeper();
diff --git a/actions/admin/user/delete.php b/actions/admin/user/delete.php
index d3a3fd90a..9c2a83e28 100644
--- a/actions/admin/user/delete.php
+++ b/actions/admin/user/delete.php
@@ -10,7 +10,7 @@
* @link http://elgg.org/
*/
- require_once("../../../engine/start.php");
+ require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php");
// block non-admin users
admin_gatekeeper();