Commit 7541f3f1 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Removed worthless unset of $cfg. Added a TODO about programatically

generating the wwwroot - $_SERVER has more than enough information to do
this.
parent ad386a1d
......@@ -17,7 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
unset($cfg);
$cfg = new StdClass;
......@@ -30,6 +29,7 @@ $cfg->dbuser = 'mahara';
$cfg->dbpass = 'mahara';
// wwwroot - include trailing slash
// @todo <nigel>: Generate programatically
$cfg->wwwroot = 'http://myhost.com/mahara/';
// dirroot - uploaded files - include trailing slash.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment