aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/admin/plugins/disable.php2
-rw-r--r--actions/admin/plugins/enable.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php
index 6fd85b0eb..92c410e45 100644
--- a/actions/admin/plugins/disable.php
+++ b/actions/admin/plugins/disable.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/plugins/enable.php b/actions/admin/plugins/enable.php
index a29ee5694..10c8ba7d0 100644
--- a/actions/admin/plugins/enable.php
+++ b/actions/admin/plugins/enable.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();