change file mode bits, chmod 777 is only necessary for upload folders
merge configurations into config/config.php