and Widget_Options is correct
This commit is contained in:
祁宁 2014-04-28 12:42:39 +08:00
parent 79b5095a3f
commit 4cb7850b42

View File

@ -8,6 +8,6 @@ if (!isset($panelTable['file']) || !in_array(urlencode($panel), $panelTable['fil
throw new Typecho_Plugin_Exception(_t('页面不存在'), 404);
}
list ($pluginName, $file) = explode('/', trim('/', $panel), 2);
list ($pluginName, $file) = explode('/', trim($panel, '/'), 2);
require_once $options->pluginDir($pluginName) . '/' . $file;
require_once $options->pluginDir($pluginName) . '/' . $panel;