diff options
Diffstat (limited to 'apps/user_openid')
-rwxr-xr-x | apps/user_openid/phpmyid.php | 8 |
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(); |