Welcome Guest, Not a member yet? Register   Sign In
library and helper without codeigniter
#1

(This post was last modified: 01-04-2019, 07:44 AM by lucavalentino.)

You can use libraries and helper outside outside coeigniter?

Thank you
Reply
#2

On CodeIgniter 3, most of the helpers seem to be using some parts of core to get config and then calculate the value. Same seems to be the case for libraries. So by the looks of it, no.

You could probably use your own helpers, if you know you haven't used get_instance(); function to access CI core app.
Reply
#3

There are no licensing restrictions to using CI code outside of a CI app, but much of the code assumes it is running in a CI context and would need to be modified, as Pertti points out.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB