Set default timezone

Prevent date/time functions from throwing E_WARNING on PHP 5.3 by
setting a default timezone
Generate real path

The way used before did not work on my both windows&linux servers. So I
think generating real path is more reliable way.
update: directorylister.js

This slash will be a problem if there's an index.html which has higher
priotry than index.php