Michelle Dupuis
Guru
- Joined
- Apr 10, 2015
- Messages
- 52
- Reaction score
- 13
I would like to submit a minor fix to the kennonsoft menu. In file index.php (root of site) line 314 where it builds the menu, it checks to see if components are present in order to add to the menu. However, if a component (http) is protected by password it is mistakenly not added to the menu. It should be. The small change below recognizes that something is at that URL but requires authentication, so adds it to the menu:
Hopefully that can roll into production
if (( strstr($http_response, "200 OK" ) || strstr($http_response, "200 Document" ) ) ||
( strstr($http_response, "401 Unauth" )) )
( strstr($http_response, "401 Unauth" )) )
Hopefully that can roll into production