mirror of
https://github.com/typecho/typecho.git
synced 2025-03-20 01:49:40 +01:00
fix #1343
This commit is contained in:
parent
2ff40c4869
commit
82212edba0
@ -497,7 +497,7 @@ class Widget_Options extends Typecho_Widget
|
||||
* @param $plugin
|
||||
* @return string
|
||||
*/
|
||||
public function pluginDir($plugin)
|
||||
public function pluginDir($plugin = NULL)
|
||||
{
|
||||
return __TYPECHO_ROOT_DIR__ . '/' . __TYPECHO_PLUGIN_DIR__;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user