Moodle: Konfigurasi CMS
Revision as of 15:20, 16 March 2010 by Onnowpurbo (talk | contribs) (New page: Parameter wwwroot menentukan tampilan Moodle akan bermasalah jika CMS berbeda IP address $CFG->wwwroot = 'http://192.168.0.1/moodle'; harus di pasang pada IP Address ...)
Parameter wwwroot menentukan tampilan Moodle akan bermasalah jika CMS berbeda IP address
$CFG->wwwroot = 'http://192.168.0.1/moodle';
harus di pasang pada IP Address
192.168.0.1
Isi File /var/www/moodle/config.php
<?php /// Moodle Configuration File ^ unset($CFG); $CFG = new stdClass(); $CFG->dbtype = 'mysql'; $CFG->dbhost = 'localhost'; $CFG->dbname = 'moodle'; $CFG->dbuser = 'moodle'; $CFG->dbpass = 'moodle'; $CFG->dbpersist = false; $CFG->prefix = 'mdl_'; $CFG->wwwroot = 'http://192.168.0.1/moodle'; $CFG->dirroot = '/var/www/moodle'; $CFG->dataroot = '/var/moodledata'; $CFG->admin = 'admin'; $CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode $CFG->passwordsaltmain = '?eod=]YO; [4vWRVamy`lY(}'; require_once("$CFG->dirroot/lib/setup.php"); // MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES, // RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE. ?>
~