[11.x] Use available getPath()
instead of using app_path()
to detect if base controller exists
#21391
Loading