Reviewed:  https://reviews.mahara.org/379
Committed: 
http://gitorious.org/mahara/mahara/commit/5266d1b4406cfdad86a57b2080910319ba9ad883
Submitter: Richard Mansfield (richa...@mahara.org)
Branch:    master

commit 5266d1b4406cfdad86a57b2080910319ba9ad883
Author: Francois Marier <franc...@catalyst.net.nz>
Date:   Thu Jun 9 18:43:23 2011 +1200

    Revert "Remove wwwroot from the database (bug #780177)"
    
    This reverts commit fb38dd955ceed3601da954dd5b2e55b682e1ac03.
    
    It turns out that we do need the wwwroot to be in the database
    because the code that sends forum posts via email runs in php
    cli mode and is needs to get the hostname of the site to embed
    in the headers.
    
    While not specifically mentioned in bug #794490, it was spitting
    out warnings in the logs.
    
    Conflicts:
    
        htdocs/lib/db/upgrade.php
        htdocs/lib/version.php
    
    Change-Id: I36b33ac72eee01f71056a45c706f2fc8674620ec
    Signed-off-by: Francois Marier <franc...@catalyst.net.nz>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/780177

Title:
  Storing wwwroot in the database: possible implications

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Basically this issue comes from bug #684190. Are there any
  implications of impossibility to change wwwroot once it is stored in
  the database? In the hostname change wiki manual we suggest people to
  clear this variable manually in the database which is somewhat
  complicated. In addition, protocol changes (upgrade to using https or
  downgrade to http) might not be considered as hostname change by the
  user, so database config variable will be left in inconsistent state.

  Do we need to keep it in the database for specific reason (e.g.
  comment says it used by cron, I did not quickly find where exactly)?

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to