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 13# This is a simple abstraction layer allowing other session handling mechanisms 14# (For example Kerberos tickets) as the application progresses. 15package Session; 16 17use LedgerSMB::Sysconfig; 18 19if ( !${LedgerSMB::Sysconfig::session} ) { 20 ${LedgerSMB::Sysconfig::session} = 'DB'; 21} 22 23require "LedgerSMB/Session/" . ${LedgerSMB::Sysconfig::session} . ".pm"; 24