use magic constant DIR instead of document root