Skip to content

Commit

Permalink
refs #1749 : Context object now covers plugin-specific passing parame…
Browse files Browse the repository at this point in the history
…ters.

 - updated - default plugins (continued.)
  • Loading branch information
inureyes committed Feb 16, 2015
1 parent 86e4602 commit 6a9f6d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion interface/owner/plugin/adminHandler/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

require ROOT . '/library/preprocessor.php';
requireStrictRoute();
$context = Model_Context::getInstance();
if ((isset($_REQUEST['name'])) && (isset($adminHandlerMappings[$_REQUEST['name']])))
{
$IV = array (
Expand All @@ -23,6 +22,8 @@
}

if (Validator::validate($IV)) {
$context = Model_Context::getInstance();

$plugin = $adminHandlerMappings[$_REQUEST['name']]['plugin'];
$handler = $adminHandlerMappings[$_REQUEST['name']]['handler'];

Expand Down
2 changes: 1 addition & 1 deletion plugins/refererkeyword/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Last modified at : 2008.3.19 by gendoh (http://gendoh.com)
2008.3.21 by Chiri (http://moonmelody.com)
2015.2.16 by inureyes (http://forest.nubimaru.com)
This plugin shows referer keyword statistics for a week on administration menu.
For the detail, visit http://forum.tattersite.com/ko
Expand Down

0 comments on commit 6a9f6d1

Please sign in to comment.