summaryrefslogtreecommitdiff
path: root/LedgerSMB/Session.pm
blob: 39de16e66ffb30a3e47ec6370d3d37971958a454 (plain)
  1. #=====================================================================
  2. # LedgerSMB
  3. # Small Medium Business Accounting software
  4. # http://www.ledgersmb.org/
  5. #
  6. #
  7. # Copyright (C) 2006
  8. # This work contains copyrighted information from a number of sources all used
  9. # with permission. It is released under the GNU General Public License
  10. # Version 2 or, at your option, any later version. See COPYRIGHT file for
  11. # details.
  12. # This is a simple abstraction layer allowing other session handling mechanisms
  13. # (For example Kerberos tickets) as the application progresses.
  14. package Session;
  15. use LedgerSMB::Sysconfig;
  16. if (!${LSMBConfig::session}){
  17. ${LSMBConfig::session} = 'DB';
  18. }
  19. require "LedgerSMB/Session/".${LSMBConfig::session}.".pm";