Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a400213e authored by VIEVILLE Thierry's avatar VIEVILLE Thierry
Browse files

.

parent 4eee0d52
No related branches found
No related tags found
No related merge requests found
......@@ -442,7 +442,7 @@ class OpenClassroomsAPI {
$httpkeys_file = plugin_dir_path( __FILE__ ).'.httpkeys';
if (is_file($httpkeys_file)) {
include($httpkeys_file);
if (!(isset(self::$httpkeys) && isset(self::$httpkeys['OAuth2/client_id']) && isset(self::$httpkeys['OAuth2/basic_auth']) && isset(self::$httpkeys['OAuth2/reditect_url'])))
if (!(isset(self::$httpkeys) && isset(self::$httpkeys['OAuth2/client_id']) && isset(self::$httpkeys['OAuth2/basic_auth']) && isset(self::$httpkeys['OAuth2/reditect_uri'])))
self::reportLog("OpenClassroomsAPI::getAuth: Bad '.httpkeys' file format");
} else {
self::reportLog("OpenClassroomsAPI::getAuth: Unable to read the '.httpkeys' file");
......
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