Changing path references in php files