Skip to content
Snippets Groups Projects
Commit 6452f5b5 authored by Kamil Domanski's avatar Kamil Domanski
Browse files

OpenID now won't load if curl is not available

parent 1ce24d89
No related branches found
No related tags found
No related merge requests found
<?php
//check if curl extension installed
if (!in_array ('curl', get_loaded_extensions())){
return;
}
require_once 'apps/user_openid/user_openid.php';
OC_APP::addSettingsPage( array( "id" => "user_openid_settings", 'order'=>1, "href" => OC_HELPER::linkTo( "user_openid", "settings.php" ), "name" => "OpenID"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment