/
var
/
www
/
html
/
professoronline
/
Upload File
HOME
<?PHP /////////////////////////////////////////////////////////////////////////// // // // Moodle configuration file // // // // This file should be renamed "config.php" in the top-level directory // // // /////////////////////////////////////////////////////////////////////////// // // // NOTICE OF COPYRIGHT // // // // Moodle - Modular Object-Oriented Dynamic Learning Environment // // http://moodle.org // // // // Copyright (C) 1999 onwards Martin Dougiamas http://moodle.com // // // // This program is free software; you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // // the Free Software Foundation; either version 3 of the License, or // // (at your option) any later version. // // // // This program is distributed in the hope that it will be useful, // // but WITHOUT ANY WARRANTY; without even the implied warranty of // // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // // GNU General Public License for more details: // // // // http://www.gnu.org/copyleft/gpl.html // // // /////////////////////////////////////////////////////////////////////////// unset($CFG); // Ignore this line global $CFG; // This is necessary here for PHPUnit execution $CFG = new stdClass(); //========================================================================= // 1. DATABASE SETUP //========================================================================= // First, you need to configure the database where all Moodle data // // will be stored. This database must already have been created // // and a username/password created to access it. // $CFG->dbtype = 'mysqli'; // 'pgsql', 'mariadb', 'mysqli', 'mssql', 'sqlsrv' or 'oci' $CFG->dblibrary = 'native'; // 'native' only at the moment $CFG->dbhost = 'gte-mysql-db-01.cwr6pbxmtszu.us-east-1.rds.amazonaws.com'; // eg 'localhost' or 'db.isp.com' or IP $CFG->dbname = 'mdl_professoronline'; // database name, eg moodle $CFG->dbuser = 'mdlprofonline'; // your database username $CFG->dbpass = 'prof3ss0r0nlin3'; // your database password $CFG->prefix = 'mdl_'; // prefix to use for all table names $CFG->dboptions = array( 'dbpersist' => false, // should persistent database connections be // used? set to 'false' for the most stable // setting, 'true' can improve performance // sometimes 'dbsocket' => false, // should connection via UNIX socket be used? // if you set it to 'true' or custom path // here set dbhost to 'localhost', // (please note mysql is always using socket // if dbhost is 'localhost' - if you need // local port connection use '127.0.0.1') 'dbport' => '', // the TCP port number to use when connecting // to the server. keep empty string for the // default port ); $CFG->wwwroot = 'http://ead.ejamundodotrabalho.sp.gov.br'; $CFG->dataroot = '/usr/local/moodledata/moodledataprofessoronline'; $CFG->directorypermissions = 00777; $CFG->admin = 'admin'; $CFG->session_handler_class = '\core\session\memcached'; $CFG->session_memcached_save_path = 'moodle-corp-session.3jxvap.cfg.use1.cache.amazonaws.com:11211'; $CFG->session_memcached_prefix = 'ead.mogi.vanzo.key.'; $CFG->session_memcached_acquire_lock_timeout = 120; $CFG->session_memcached_lock_expire = 7200; // Ignored if memcached extension <= 2.1.0 // $CFG->tempdir = '/var/www/moodle/temp'; // Files used during one HTTP request only. // $CFG->cachedir = '/var/www/moodle/cache'; // Directory MUST BE SHARED by all cluster nodes, locking required. $CFG->localcachedir = '/dev/shm/'; // Intended for local node caching. require_once(dirname(__FILE__) . '/lib/setup.php'); // Do not edit // There is no php closing tag in this file, // it is intentional because it prevents trailing whitespace problems!