Ticket #549 (closed Bug: wontfix)

Opened 8 months ago

Last modified 8 months ago

Kohana doesn't autoload classes if they are in subdirectories...

Reported by: tterragcnoom Owned by: Shadowhand
Priority: minor Milestone: 2.1.2
Component: Core Version: SVN HEAD
Keywords: auto_load sub-directory controller Cc: garrett@…

Description

I have several controllers in a subdirectory. In one of them I try to access a method from another controller but the controller fails to 'auto_load' because it is in a subdirectory of controllers. The documentation suggests controllers in subdirectories are supported as well as autoloading.

I imagine changes would have to be made to Kohana.php: auto_load or find_file.

Change History

Changed 8 months ago by Shadowhand

  • keywords auto_load sub-directory controller added
  • status changed from new to closed
  • resolution set to wontfix

It's not possible to solve this, for all the reasons mentioned on the http://forum.kohanaphp.com|forums (search around).

Changed 8 months ago by Shadowhand

Start here.

Note: See TracTickets for help on using tickets.