diff options
Diffstat (limited to 'actions/admin/plugins')
-rw-r--r-- | actions/admin/plugins/disable.php | 4 | ||||
-rw-r--r-- | actions/admin/plugins/disableall.php | 4 | ||||
-rw-r--r-- | actions/admin/plugins/enable.php | 4 | ||||
-rw-r--r-- | actions/admin/plugins/enableall.php | 4 | ||||
-rw-r--r-- | actions/admin/plugins/reorder.php | 2 |
5 files changed, 4 insertions, 14 deletions
diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php index 810eb1c94..4726a47fa 100644 --- a/actions/admin/plugins/disable.php +++ b/actions/admin/plugins/disable.php @@ -8,8 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"); - // block non-admin users admin_gatekeeper(); @@ -35,4 +33,4 @@ elgg_view_regenerate_simplecache(); elgg_filepath_cache_reset(); forward($_SERVER['HTTP_REFERER']); -exit;
\ No newline at end of file +exit; diff --git a/actions/admin/plugins/disableall.php b/actions/admin/plugins/disableall.php index b06961450..b48841047 100644 --- a/actions/admin/plugins/disableall.php +++ b/actions/admin/plugins/disableall.php @@ -8,8 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"); - // block non-admin users admin_gatekeeper(); @@ -31,4 +29,4 @@ elgg_view_regenerate_simplecache(); elgg_filepath_cache_reset(); forward($_SERVER['HTTP_REFERER']); -exit;
\ No newline at end of file +exit; diff --git a/actions/admin/plugins/enable.php b/actions/admin/plugins/enable.php index 0a6631b65..6e4b98658 100644 --- a/actions/admin/plugins/enable.php +++ b/actions/admin/plugins/enable.php @@ -8,8 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"); - // block non-admin users admin_gatekeeper(); @@ -35,4 +33,4 @@ elgg_view_regenerate_simplecache(); elgg_filepath_cache_reset(); forward($_SERVER['HTTP_REFERER']); -exit;
\ No newline at end of file +exit; diff --git a/actions/admin/plugins/enableall.php b/actions/admin/plugins/enableall.php index 92a44b7a7..d6cac3938 100644 --- a/actions/admin/plugins/enableall.php +++ b/actions/admin/plugins/enableall.php @@ -8,8 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"); - // block non-admin users admin_gatekeeper(); @@ -32,4 +30,4 @@ elgg_view_regenerate_simplecache(); elgg_filepath_cache_reset(); forward($_SERVER['HTTP_REFERER']); -exit;
\ No newline at end of file +exit; diff --git a/actions/admin/plugins/reorder.php b/actions/admin/plugins/reorder.php index 67cb6f02b..45bcefc78 100644 --- a/actions/admin/plugins/reorder.php +++ b/actions/admin/plugins/reorder.php @@ -8,8 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"); - // block non-admin users admin_gatekeeper(); |