Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
About code generation of administration
  • I have already generated one scaffold of admin using oil.

    Butn when I try to generate second scaffold I got this error

    fuel/app/classes/controller/base.php already exists, use -f or --force to override.

    Is this a bug. or I can use -f option to generate successfully.
  • All generated admin controllers use the same generic base controller. So after the first generation it exists, hence the warning when you try to generate a second one.

    By default, it will not overwrite it, as you may have made modifications to it.

    You can use '--force' to overwrite, or '--skip' to skip files that already exist.

Howdy, Stranger!

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

In this Discussion