[FIX] filegals: when downloading file using session infos, do not get fgal_use_dir pref from db if it's already in session vars + fix handling images stored in DB
[FIX] filegals: when downloading file using session infos, do not get fgal_use_dir pref from db if it's already in session vars + fix handling images stored in DB

git-svn-id: a7fabbc6a7c54ea5c67cbd16bd322330fd10cc35@15629 b456876b-0849-0410-b77d-98878d47e9d5

changi67/tiki,changi67/tiki,changi67/tiki,oregional/tiki,tikiorg/tiki,oregional/tiki,oregional/tiki,changi67/tiki,tikiorg/tiki,changi67/tiki,tikiorg/tiki,tikiorg/tiki,oregional/tiki