Commit 15e6c0ed authored by Nigel McNie's avatar Nigel McNie
Browse files

Move config-defaults.php to lib/, and add text explaining its role.

This is to prevent people copying it by mistake instead of config-dist.php
parent dc219909
......@@ -24,29 +24,18 @@
$cfg = new StdClass;
// Do Not Edit This File!
// If you see a setting in here you'd like to change, copy it to your
// config.php and change it there.
// This file sets defaults that are useful for most people.
// database connection details
// valid values for dbtype are 'postgres8' and 'mysql5'
$cfg->dbtype = 'postgres8';
$cfg->dbhost = 'localhost';
$cfg->dbport = null;
$cfg->dbname = '';
$cfg->dbuser = '';
$cfg->dbpass = '';
$cfg->dbprefix = '';
// wwwroot - the web-visible path to your Mahara installation
// Normally, this is automatically detected - if it doesn't work for you
// then try specifying it here
//$cfg->wwwroot = '';
// dataroot - uploaded files are stored here
// must be writable by the webserver and outside document root.
// Mahara will NOT RUN if this is inside your document root, because
// this is a big security hole.
$cfg->dataroot = '/path/to/uploaddir';
$cfg = new StdClass;
// directorypermissions - what permissions to use for files and directories in
// dataroot. The default allows only the web server user to read the data. If
Supports Markdown
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