use absolute or relative path?

Posted by ajsie on Stack Overflow See other posts from Stack Overflow or by ajsie
Published on 2010-04-09T01:11:27Z Indexed on 2010/04/09 1:13 UTC
Read the original article Hit count: 224

Filed under:

in my config.php where i have all constants i set the PATH to a absolute path.

but this means that when i move my application folder i have to change this path.

i wondered if its better to set a relative path, in that way whenever i move my application between production and development folder, i dont have to change it.

how do you guys do when you move between folders?

© Stack Overflow or respective owner

Related posts about php