mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
fix claim get create at last month
This commit is contained in:
@@ -37,4 +37,11 @@ abstract class BasePlugin extends BaseRepository
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
public function getNexusView($name): string
|
||||
{
|
||||
$reflection = new \ReflectionClass(get_called_class());
|
||||
$pluginRoot = dirname($reflection->getFileName(), 2);
|
||||
return $pluginRoot . "/resources/views/" . trim($name, "/");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user