[slbackup-commit] CVS update: slbackup-php/src index.php
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Wed Apr 18 05:58:55 UTC 2007
User: finnarne-guest
Date: 07/04/18 05:58:55
Modified: src index.php
Log:
Warn if about to send password over unencrypted link
Revision Changes Path
1.28 +2 -0 slbackup-php/src/index.php
Index: index.php
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/src/index.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- index.php 18 Apr 2007 05:15:18 -0000 1.27
+++ index.php 18 Apr 2007 05:58:55 -0000 1.28
@@ -483,6 +483,8 @@
$config = readconf ($passwd) ;
if (empty ($config)) {
+ if (!empty ($_SERVER["HTTPS"]))
+ $smarty->assign ('https', 'true') ;
$smarty->assign ('backupuser', $backupuser) ;
$smarty->assign ('backuphost', $backuphost) ;
$smarty->display ('login.tpl') ;
More information about the slbackup-commit
mailing list