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.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion