openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 5f173bdd61bdf248cfe796d2482241f53904926f
parent 0df17137caad9dbe72416d0fc120bb1e4631c341
Author: dankert <devnull@localhost>
Date:   Thu, 16 Dec 2004 00:14:48 +0100

speichern/lesen Konfiguration

Diffstat:
serviceClasses/Session.class.php | 22+++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/serviceClasses/Session.class.php b/serviceClasses/Session.class.php @@ -20,7 +20,10 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // --------------------------------------------------------------------------- // $Log$ -// Revision 1.1 2004-11-10 22:51:30 dankert +// Revision 1.2 2004-12-15 23:14:48 dankert +// speichern/lesen Konfiguration +// +// Revision 1.1 2004/11/10 22:51:30 dankert // Bereitstellen von Methoden, zum Lesen/Schreiben von Variablen von/nach HTTP-Session // // Revision 1.8 2004/10/14 22:57:44 dankert @@ -81,6 +84,23 @@ else $FILES = &$HTTP_POST_FILES; class Session { + function getConfig() + { + global $SESS; + if ( isset($SESS['config']) ) + return $SESS['config']; + else + return ''; + } + + function setConfig( $var ) + { + global $SESS; + $SESS['config'] = $var; + } + + + function getProjectModel() { global $SESS;