summaryrefslogtreecommitdiffstats
path: root/apps/user_openid/phpmyid.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 13:28:56 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 13:28:56 +0200
commit8e99475886fa3fc23dd576cce7eaefd532c3fe5c (patch)
tree206c1923ac04eea8702805c1e02088b729ff1b9b /apps/user_openid/phpmyid.php
parent8c7f8546716ac77cdeaa134caf9fae22232ce213 (diff)
downloadnextcloud-server-8e99475886fa3fc23dd576cce7eaefd532c3fe5c.tar.gz
nextcloud-server-8e99475886fa3fc23dd576cce7eaefd532c3fe5c.zip
first part of the config stuff
Diffstat (limited to 'apps/user_openid/phpmyid.php')
-rwxr-xr-xapps/user_openid/phpmyid.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/user_openid/phpmyid.php b/apps/user_openid/phpmyid.php
index a86e8070fc8..21d1c0a4545 100755
--- a/apps/user_openid/phpmyid.php
+++ b/apps/user_openid/phpmyid.php
@@ -1067,7 +1067,7 @@ function destroy_assoc_handle ( $id ) {
session_write_close();
session_id($id);
- if (OC_Config::getValue( "forcessl", false )) {
+ if (OCP\Config::getSystemValue( "forcessl", false )) {
ini_set("session.cookie_secure", "on");
}
session_start();
@@ -1195,7 +1195,7 @@ function new_assoc ( $expiration ) {
session_write_close();
}
- if (OC_Config::getValue( "forcessl", false )) {
+ if (OCP\Config::getSystemValue( "forcessl", false )) {
ini_set("session.cookie_secure", "on");
}
session_start();
@@ -1269,7 +1269,7 @@ function secret ( $handle ) {
}
session_id($handle);
- if (OC_Config::getValue( "forcessl", false )) {
+ if (OCP\Config::getSystemValue( "forcessl", false )) {
ini_set("session.cookie_secure", "on");
}
session_start();
@@ -1447,7 +1447,7 @@ function user_session () {
global $proto, $profile;
session_name('phpMyID_Server');
- if (OC_Config::getValue( "forcessl", false )) {
+ if (OCP\Config::getSystemValue( "forcessl", false )) {
ini_set("session.cookie_secure", "on");
}
@session_start();