Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
935
Issues
935
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Development
Core
Commits
ba1e1ab6
Commit
ba1e1ab6
authored
Sep 12, 2015
by
xurizaemon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CRM-17212: Use pantheon detection to switch file session to storage
parent
2af2cd60
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
6 deletions
+8
-6
extern/authorizeIPN.php
extern/authorizeIPN.php
+3
-1
extern/googleNotify.php
extern/googleNotify.php
+1
-1
extern/ipn.php
extern/ipn.php
+1
-1
extern/pxIPN.php
extern/pxIPN.php
+1
-1
extern/rest.php
extern/rest.php
+1
-1
extern/soap.php
extern/soap.php
+1
-1
No files found.
extern/authorizeIPN.php
View file @
ba1e1ab6
...
...
@@ -31,7 +31,9 @@
* $Id$
*/
ini_set
(
'session.save_handler'
,
'files'
);
if
(
defined
(
'PANTHEON_ENVIRONMENT'
))
{
ini_set
(
'session.save_handler'
,
'files'
);
}
session_start
();
require_once
'../civicrm.config.php'
;
...
...
extern/googleNotify.php
View file @
ba1e1ab6
...
...
@@ -31,7 +31,7 @@
* $Id$
*/
if
(
!
empty
(
$_SERVER
[
'PRESSFLOW_SETTINGS'
]
))
{
if
(
defined
(
'PANTHEON_ENVIRONMENT'
))
{
ini_set
(
'session.save_handler'
,
'files'
);
}
session_start
();
...
...
extern/ipn.php
View file @
ba1e1ab6
...
...
@@ -31,7 +31,7 @@
* $Id$
*/
if
(
!
empty
(
$_SERVER
[
'PRESSFLOW_SETTINGS'
]
))
{
if
(
defined
(
'PANTHEON_ENVIRONMENT'
))
{
ini_set
(
'session.save_handler'
,
'files'
);
}
session_start
();
...
...
extern/pxIPN.php
View file @
ba1e1ab6
...
...
@@ -10,7 +10,7 @@
* in creating this payment processor module
*/
if
(
!
empty
(
$_SERVER
[
'PRESSFLOW_SETTINGS'
]
))
{
if
(
defined
(
'PANTHEON_ENVIRONMENT'
))
{
ini_set
(
'session.save_handler'
,
'files'
);
}
session_start
();
...
...
extern/rest.php
View file @
ba1e1ab6
...
...
@@ -28,7 +28,7 @@
require_once
'../civicrm.config.php'
;
$config
=
CRM_Core_Config
::
singleton
();
if
(
!
empty
(
$_SERVER
[
'PRESSFLOW_SETTINGS'
]
))
{
if
(
defined
(
'PANTHEON_ENVIRONMENT'
))
{
ini_set
(
'session.save_handler'
,
'files'
);
}
session_start
();
...
...
extern/soap.php
View file @
ba1e1ab6
...
...
@@ -33,7 +33,7 @@ if (phpversion() == "5.2.2" &&
$GLOBALS
[
'HTTP_RAW_POST_DATA'
]
=
file_get_contents
(
'php://input'
);
}
if
(
!
empty
(
$_SERVER
[
'PRESSFLOW_SETTINGS'
]
))
{
if
(
defined
(
'PANTHEON_ENVIRONMENT'
))
{
ini_set
(
'session.save_handler'
,
'files'
);
}
session_start
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment