added auto-detection for upgrading on servers not supporting the php_value directive in .htaccess; version bump to 1.6.1 to fix the issues with endpoints.