SSViewer::setOption() is deprecated in 3.2
Use one of the following examples to set rewrite_hash_links
config.yml
SSViewer:
rewrite_hash_links: false
_config.php
Config::inst()->update('SSViewer', 'rewrite_hash_links', false);
(http://api.silverstripe.org/3.1/class-SSViewer.html#_setOption)
On 2.4er setup I set in _config.php
SSViewer::setOption('rewriteHashlinks', false);
not tested with 3.x and the yml config layer