[slbackup-commit] CVS update: slbackup-php/src index.php
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Fri Apr 13 20:46:07 UTC 2007
User: finnarne-guest
Date: 07/04/13 20:46:07
Modified: src index.php
Log:
Added logout function
Revision Changes Path
1.10 +7 -0 slbackup-php/src/index.php
Index: index.php
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/src/index.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- index.php 13 Apr 2007 11:03:04 -0000 1.9
+++ index.php 13 Apr 2007 20:46:07 -0000 1.10
@@ -212,6 +212,8 @@
case "delloc":
case "addloc":
case "scheduler":
+ case "status":
+ case "logout":
$submit=$key ;
break ;
case "client":
@@ -223,6 +225,11 @@
}
}
+if ($submit == "logout") {
+ unset ($passwd) ;
+ unset ($xorstring) ;
+ $_SESSION['encrypt'] = "" ;
+}
if (isset ($passwd))
$config = readconf ($passwd) ;
More information about the slbackup-commit
mailing list