php_sapi_name() could return empty value
Issue #3
new
Method is used to decide if symlinks work or not. Remove condition cause symlink() should return false if not working.