mirror of
https://github.com/typecho/typecho.git
synced 2025-01-17 04:28:17 +01:00
parent
79b5095a3f
commit
4cb7850b42
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user