Public bug reported:

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.)

** Affects: mahara
     Importance: High
     Assignee: Kristina Hoeppner (kris-hoeppner)
         Status: Confirmed

** Changed in: mahara
     Assignee: (unassigned) => Kristina Hoeppner (kris-hoeppner)

** Changed in: mahara
   Importance: Undecided => High

** Changed in: mahara
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1611609

Title:
  Mistake in the $cfg->urlsecret manual page

Status in Mahara:
  Confirmed

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.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1611609/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to