Mentions légales du service

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

.

parent a400213e
No related branches found
No related tags found
No related merge requests found
......@@ -443,7 +443,7 @@ class OpenClassroomsAPI {
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_uri'])))
self::reportLog("OpenClassroomsAPI::getAuth: Bad '.httpkeys' file format");
self::reportLog("OpenClassroomsAPI::getAuth: Bad '.httpkeys' file format #".isset(self::$httpkeys)."-".isset(self::$httpkeys['OAuth2/client_id'])."-".isset(self::$httpkeys['OAuth2/basic_auth'])."-".isset(self::$httpkeys['OAuth2/reditect_uri']));
} else {
self::reportLog("OpenClassroomsAPI::getAuth: Unable to read the '.httpkeys' file");
exit(0);
......
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