Replace all hard-coded chris2/ names with a call to the API. This was used to grab file data so now the API can pass such data thru.

Example: http://chris2/d/chrisreloaded/api.php?action=get&what=file&parameters=daniel/search/dsfdsf-1835/search.log

This is also more secure since the user now has to be logged in to access data.