[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17374] use cookies for sessions as default
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [17374] use cookies for sessions as default |
Date: |
Tue, 28 Nov 2017 10:10:01 -0500 (EST) |
Revision: 17374
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17374
Author: sigurdne
Date: 2017-11-28 10:10:00 -0500 (Tue, 28 Nov 2017)
Log Message:
-----------
use cookies for sessions as default
Modified Paths:
--------------
trunk/activitycalendarfrontend/setup/default_records.inc.php
trunk/bookingfrontend/setup/default_records.inc.php
trunk/eventplannerfrontend/setup/default_records.inc.php
trunk/mobilefrontend/setup/default_records.inc.php
Modified: trunk/activitycalendarfrontend/setup/default_records.inc.php
===================================================================
--- trunk/activitycalendarfrontend/setup/default_records.inc.php
2017-11-28 10:19:54 UTC (rev 17373)
+++ trunk/activitycalendarfrontend/setup/default_records.inc.php
2017-11-28 15:10:00 UTC (rev 17374)
@@ -10,3 +10,15 @@
);
$aclobj = & $GLOBALS['phpgw']->acl;
+
+ // Sane defaults for the API
+ $values = array
+ (
+ 'usecookies' => 'True'
+ );
+
+ foreach ( $values as $name => $val )
+ {
+ $sql = "INSERT INTO phpgw_config
VALUES('activitycalendarfrontend', '{$name}', '{$val}')";
+ $GLOBALS['phpgw_setup']->oProc->query($sql, __LINE__, __FILE__);
+ }
Modified: trunk/bookingfrontend/setup/default_records.inc.php
===================================================================
--- trunk/bookingfrontend/setup/default_records.inc.php 2017-11-28 10:19:54 UTC
(rev 17373)
+++ trunk/bookingfrontend/setup/default_records.inc.php 2017-11-28 15:10:00 UTC
(rev 17374)
@@ -36,3 +36,15 @@
$config->value('anonymous_passwd', $passwd);
$config->save_repository();
}
+
+ // Sane defaults for the API
+ $values = array
+ (
+ 'usecookies' => 'True'
+ );
+
+ foreach ( $values as $name => $val )
+ {
+ $sql = "INSERT INTO phpgw_config VALUES('bookingfrontend',
'{$name}', '{$val}')";
+ $GLOBALS['phpgw_setup']->oProc->query($sql, __LINE__, __FILE__);
+ }
Modified: trunk/eventplannerfrontend/setup/default_records.inc.php
===================================================================
--- trunk/eventplannerfrontend/setup/default_records.inc.php 2017-11-28
10:19:54 UTC (rev 17373)
+++ trunk/eventplannerfrontend/setup/default_records.inc.php 2017-11-28
15:10:00 UTC (rev 17374)
@@ -63,4 +63,15 @@
$aclobj->add('eventplannerfrontend', '.vendor_report', 1 | 2 | 4);
$aclobj->add('eventplannerfrontend', '.customer_report', 1 | 2 | 4);
$aclobj->save_repository();
-
\ No newline at end of file
+
+ // Sane defaults for the API
+ $values = array
+ (
+ 'usecookies' => 'True'
+ );
+
+ foreach ( $values as $name => $val )
+ {
+ $sql = "INSERT INTO phpgw_config VALUES('eventplannerfrontend',
'{$name}', '{$val}')";
+ $GLOBALS['phpgw_setup']->oProc->query($sql, __LINE__, __FILE__);
+ }
Modified: trunk/mobilefrontend/setup/default_records.inc.php
===================================================================
--- trunk/mobilefrontend/setup/default_records.inc.php 2017-11-28 10:19:54 UTC
(rev 17373)
+++ trunk/mobilefrontend/setup/default_records.inc.php 2017-11-28 15:10:00 UTC
(rev 17374)
@@ -18,3 +18,14 @@
*/
+ // Sane defaults for the API
+ $values = array
+ (
+ 'usecookies' => 'True'
+ );
+
+ foreach ( $values as $name => $val )
+ {
+ $sql = "INSERT INTO phpgw_config VALUES('mobilefrontend',
'{$name}', '{$val}')";
+ $GLOBALS['phpgw_setup']->oProc->query($sql, __LINE__, __FILE__);
+ }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17374] use cookies for sessions as default,
sigurdne <=