steffen: server/kolab/kolab session_vars.php.template,1.5,1.6

cvs at intevation.de cvs at intevation.de
Fri Apr 16 12:17:30 CEST 2004


Author: steffen

Update of /kolabrepository/server/kolab/kolab
In directory doto:/tmp/cvs-serv22487

Modified Files:
	session_vars.php.template 
Log Message:
Started restructuring the webinterface. New classes:

KolabLdap: Class for accessing the ldap server, API not fully evolved yet
KolabAuth: Class for authenticating a user using the LDAP class
KolabForm: HTML form handling class. This is supposed to replace the many 
	long input forms in the webinterface. Currently it is only used in
	user/ and some error-handling is missing



Index: session_vars.php.template
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/session_vars.php.template,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- session_vars.php.template	22 May 2003 18:49:51 -0000	1.5
+++ session_vars.php.template	16 Apr 2004 10:17:28 -0000	1.6
@@ -6,11 +6,11 @@
 # Read the file COPYING that comes with this packages for details.
 
 */
-$HTTP_SESSION_VARS['ldap_server'] = "@@@ldap_ip@@@";
-$HTTP_SESSION_VARS['ldap_port'] = @@@ldap_port@@@;
-$HTTP_SESSION_VARS['base_dn'] = "@@@base_dn@@@";
-$HTTP_SESSION_VARS['php_dn'] = "@@@php_dn@@@";
-$HTTP_SESSION_VARS['php_pw'] = "@@@php_pw@@@";
-//$HTTP_SESSION_VARS['foo'];
-// use as $_SESSION['foo'];
+session_start();
+
+$_SESSION['ldap_server'] = "@@@ldap_ip@@@";
+$_SESSION['ldap_port'] = @@@ldap_port@@@;
+$_SESSION['base_dn'] = "@@@base_dn@@@";
+$_SESSION['php_dn'] = "@@@php_dn@@@";
+$_SESSION['php_pw'] = "@@@php_pw@@@";
 ?>





More information about the commits mailing list