Data directory will be defined in config.php. But it is not that easy as the database is affected as well. This topic might be helpful…
config.php