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
Branches
No related tags found
No related merge requests found
...@@ -442,7 +442,7 @@ class OpenClassroomsAPI { ...@@ -442,7 +442,7 @@ class OpenClassroomsAPI {
$httpkeys_file = plugin_dir_path( __FILE__ ).'.httpkeys'; $httpkeys_file = plugin_dir_path( __FILE__ ).'.httpkeys';
if (is_file($httpkeys_file)) { if (is_file($httpkeys_file)) {
include($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"); self::reportLog("OpenClassroomsAPI::getAuth: Bad '.httpkeys' file format");
} else { } else {
self::reportLog("OpenClassroomsAPI::getAuth: Unable to read the '.httpkeys' file"); 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.
Please register or to comment