summaryrefslogtreecommitdiff
path: root/LedgerSMB/Session.pm
blob: dbc2d1c36f0a612ba81de1af8b1e6a07bfa48894 (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 ( !${LedgerSMB::Sysconfig::session} ) {
  17. ${LedgerSMB::Sysconfig::session} = 'DB';
  18. }
  19. require "LedgerSMB/Session/" . ${LedgerSMB::Sysconfig::session} . ".pm";