Welcome Guest, Not a member yet? Register   Sign In
accessing network files
#1

[eluser]varun[/eluser]
HI

I want to put my lib files in central repository location on server.
is there any way through which i can access my network files. with require_once or any other method.


thanks in advance.
#2

[eluser]Jondolar[/eluser]
You can put your files anywhere you want and load them with an include() or require() function. As long as the running script (under apache, for instance) has access to the directory. By loading your own lib files this way, you lose a small capability of CI to load the class file and make the class accessible with a $CI->xxx object. That might not be a problem for you.
#3

[eluser]varun[/eluser]
Hi Jondolar

Thanks for your reply. Your reply is really helpful for me.




Theme © iAndrew 2016 - Forum software by © MyBB