gunnar: server/php-kolab/Kolab_Freebusy/Freebusy Page.php,1.2,1.3

cvs at kolab.org cvs at kolab.org
Wed Feb 6 09:00:29 CET 2008


Author: gunnar

Update of /kolabrepository/server/php-kolab/Kolab_Freebusy/Freebusy
In directory doto:/tmp/cvs-serv20882/php-kolab/Kolab_Freebusy/Freebusy

Modified Files:
	Page.php 
Log Message:
Second draft version of the generatefb script (issue  kolab/issue1693). Should be split into a bash script and web callable script now.

Index: Page.php
===================================================================
RCS file: /kolabrepository/server/php-kolab/Kolab_Freebusy/Freebusy/Page.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Page.php	5 Feb 2008 17:04:13 -0000	1.2
+++ Page.php	6 Feb 2008 08:00:27 -0000	1.3
@@ -374,6 +374,10 @@
                 list($this->user, $this->pass) = explode(':', $a, 2);
             }
         }
+        if (empty($this->user) && isset($_ENV['CLI_USER']) && isset($_ENV['CLI_PASS'])) {
+            $this->user = $_ENV['CLI_USER'];
+            $this->pass = $_ENV['CLI_PASS'];
+        }
     }
 
     function _process() 





More information about the commits mailing list