Mistake in the $cfg->urlsecret manual page

Bug #1611609 reported by Aaron Wells
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara manual
Fix Released
High
Kristina Hoeppner

Bug Description

I noticed on the Mahara manual page for $cfg->urlsecret, it says to set it to "none" where it should be "null":

http://manual.mahara.org/en/16.04/administration/config_php.html#new-in-mahara-16-04-urlsecret-run-the-cron-or-upgrade-only-when-you-are-authorised

"When you have a developer instance or a test server that is behind a firewall, you may not want to add the urlsecret every time, especially when you are the only once who has access to those sites. You could put $cfg->urlsecret = none; into the config.php files for these sites and circumvent the requirement of entering a secret phrase. However, you should not use that on a production site or any other site that is accessible to many people."

In the middle there, where it says:

$cfg->urlsecret = none;

...it should be:

$cfg->urlsecret = null;

(And there shouldn't be any quotes around the word null, because null is a PHP keyword.)

Aaron Wells (u-aaronw)
Changed in mahara:
assignee: nobody → Kristina Hoeppner (kris-hoeppner)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Fixed and pushed. Will be updated tomorrow online.

affects: mahara → mahara-manual
Changed in mahara-manual:
status: Confirmed → Fix Released
Revision history for this message
Aaron Wells (u-aaronw) wrote :

Yep, now it's correct. :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.