In my site, i have a place that says:

```
include('../tpls/header_home.php');

```

and it works. Now i am moving the site to another server, where i get the error:

```
Warning: include(../tpls/header_home.php) [function.include]: failed to open stream: No such file or directory in /home/usern/public_html/site/tpls/static/home.php on line 4

```

now if I replace the line with this one, it works:

```
include('site/tpls/header_home.php');

```

I could change it, but i don't know how many more places I have of broken paths all around, not only in templates, but files, uploads etc. 

I would rather fix the problem generally from a setting or something else I am missing. What do I do?

HINT:

Old working server gives me CWD:
`/home/ortho/public_html/site/lib`

New server that is problematic gives me CWD:
`/home/orthosho/public_html`

why?

STRUCTURE:

`/home/usern/public_html/site/tpls/static/home.php`
`/home/usern/public_html/site/tpls/header_home.php`

PHP old server: 5.2.17

PHP new server: 5.3.8

maybe that is causing problems?