Welcome Guest, Not a member yet? Register   Sign In
transform library from app to CI
#1

[eluser]Marc Arbour[/eluser]
Hi.

This may already have been addressed, but I don't know what to search for.

How can I transform a library that resides in the application subfolder to make it reside in the main CI library folder?

Any pointers will be appreciated.

Marc
#2

[eluser]Pascal Kriete[/eluser]
"Move it", is probably not the answer you're looking for.

Just to double check what you're trying to do. You want to move a library from system/application/libraries/ to system/libraries?
#3

[eluser]louis w[/eluser]
Sorry what are you trying to do?

The system/libraries folder is reserved for built in libraries. You should not place your scripts in there because if you ever upgrade your CI it would be erased.
#4

[eluser]Marc Arbour[/eluser]
Hi, moving will do?

As far as my library is concerned, it doesn't overwrite any original CI files so I think it would be safe to use system/libraries instead of /system/application/libraries... Right?

Marc
#5

[eluser]Pascal Kriete[/eluser]
Yep, the loader checks both directories.

It's perfectly safe to use, the only caveat is upgrading, as louis w mentioned. However, using the system folder can be convenient if you're running multiple related apps on that core install.
Bottom line: Experiment, it's a great way to learn what works best for you. If it doesn't pan out in the long run you can always move it back.




Theme © iAndrew 2016 - Forum software by © MyBB