]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4498 special check for admin pages that are throwing 404 errors - this won...
authorCash Costello <cash.costello@gmail.com>
Sat, 2 Jun 2012 21:08:42 +0000 (17:08 -0400)
committerCash Costello <cash.costello@gmail.com>
Sat, 2 Jun 2012 21:08:42 +0000 (17:08 -0400)
views/default/page/default.php

index 892069fade9096a1ccd15d2dba1c9d89b8540e38..3724bffd86376c9e19303695c0354c7c501d64f0 100644 (file)
@@ -14,7 +14,9 @@
 // backward compatability support for plugins that are not using the new approach
 // of routing through admin. See reportedcontent plugin for a simple example.
 if (elgg_get_context() == 'admin') {
-       elgg_deprecated_notice("admin plugins should route through 'admin'.", 1.8);
+       if (get_input('handler') != 'admin') {
+               elgg_deprecated_notice("admin plugins should route through 'admin'.", 1.8);
+       }
        elgg_admin_add_plugin_settings_menu();
        elgg_unregister_css('elgg');
        echo elgg_view('page/admin', $vars);