Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Subfolders in oil refine. is it possible?
  • We have quite a lot of app/tasks/ and want to organize them a bit, so we need to put oil refine tasks in subfolders,
    But we didnt figure out how to call them. We put task class file in fuel/tasks/sub/task.php:
    We tried specifying \Fuel\Tasks\Sub namespace, we also tried class name Sub_Task and none of them worked while calling
    php oil r sub/task I saw it is possible for generate, but is it possible for oil refine at all? Thank you.
  • No, this is currently not supported. Tasks don't follow the rules of the autoloader, they are loaded hardcoded. This will be remedied in 2.0.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion