BUG Kennonsoft menu bug

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:

if (( strstr($http_response, "200 OK" ) || strstr($http_response, "200 Document" ) ) ||
( strstr($http_response, "401 Unauth" )) )​


Hopefully that can roll into production :)
 

Members online

Forum statistics

Threads
25,825
Messages
167,856
Members
19,250
Latest member
mark-curtis
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top