diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-11-01 23:42:23 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-11-01 23:42:23 +0000 |
commit | 27c5a57fac903382eac1216fe06f259f858245c8 (patch) | |
tree | 045c3d3cd84c99c9fa07f5d38668ff75f185e888 /LedgerSMB/Auth.pm | |
parent | 01556e1128f60bd3252d6f31c73eeb797bec9d98 (diff) |
Renaming the Session namespace to LedgerSMB::Auth
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1835 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/Auth.pm')
-rw-r--r-- | LedgerSMB/Auth.pm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/LedgerSMB/Auth.pm b/LedgerSMB/Auth.pm new file mode 100644 index 00000000..fec8209c --- /dev/null +++ b/LedgerSMB/Auth.pm @@ -0,0 +1,23 @@ +#===================================================================== +# LedgerSMB +# Small Medium Business Accounting software +# http://www.ledgersmb.org/ +# +# +# Copyright (C) 2006 +# This work contains copyrighted information from a number of sources all used +# with permission. It is released under the GNU General Public License +# Version 2 or, at your option, any later version. See COPYRIGHT file for +# details. + +# This is a simple abstraction layer allowing other session handling mechanisms +# (For example Kerberos tickets) as the application progresses. +package LedgerSMB::Auth; + +use LedgerSMB::Sysconfig; + +if ( !${LedgerSMB::Sysconfig::auth} ) { + ${LedgerSMB::Sysconfig::auth} = 'DB'; +} + +require "LedgerSMB/Auth/" . ${LedgerSMB::Sysconfig::auth} . ".pm"; |