Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Include ORM Package from external PHP File
  • Hello,
    First i would like to thank you all for this project.
    i would like to know if it's possible to load  ORM Package from an external file (which is not located in the fuel or the www dir )


  • HarroHarro
    Accepted Answer
    What do you mean with 'external file'? The ORM package is an entire collection of files.

    If you mean: can I install the package outside the docroot(s), then yes, I do that all the time. Just add the path where you install them to the package paths list in your app/config/config.php.

    Note that they are processed in the order they are defined. I always place the shared one last, so I can override a centrally installed package with a local package of the same name (so I can test different versions for example).

Howdy, Stranger!

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

In this Discussion