Forum Moderators: coopster

Message Too Old, No Replies

How to move files to the "lib" folder?

         

bearclaws

12:39 am on Jun 19, 2007 (gmt 0)

10+ Year Member



A client recently asked me to move a lot of code into the "lib" folder...and I'm not sure exactly how to do this without having the site blow up.

I'm using Subversion and have a root-level folder structure that looks like this:
* lib
* logs
* sql
* src

Currently, I have all of my web files in the "src" folder.

There is a folder of include files in the "src > includes" folder. The client is asking to move these to the "lib" folder for security reasons.

How do I do this?!

I'm not sure how to move files outside the "src" folder and have the site still function properly.

Any thoughts? I'm stumped and could use some help.

Thanks!

jatar_k

12:03 pm on Jun 19, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You would need to check and change all paths that refer to those files

why would the client request something like this? Can you identify actual security concerns with where they are now?

bearclaws

10:47 pm on Jun 21, 2007 (gmt 0)

10+ Year Member



The "lib" folder can't be accessed from a web browser since it's at the same level as the "src" folder (which contains the web files).

That's the problem - I don't know how to change the file paths to something that's not in the web folder...?

I'm hoping this issue will just quietly disappear!

eelixduppy

3:26 am on Jun 24, 2007 (gmt 0)



Try using the full path to the file that you want to include. Should work...