From 8e99475886fa3fc23dd576cce7eaefd532c3fe5c Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Wed, 2 May 2012 13:28:56 +0200 Subject: first part of the config stuff --- apps/user_openid/phpmyid.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/user_openid') 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(); -- cgit v1.2.3