Moodle/config.php

Aus Foxwiki
Version vom 1. Oktober 2023, 12:13 Uhr von Dirkwagner (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ $ '''cat moodle/config.php''' <?php // Moodle configuration file unset($CFG); global $CFG; $CFG = new stdClass(); $CFG->dbtype = 'mariadb'; $CFG->dblibrary = 'native'; $CFG->dbhost = 'localhost'; $CFG->dbname = 'dbname'; $CFG->dbuser = 'dbuser'; $CFG->dbpass = 'dbpass'; $CFG->prefix = 'mdl_'; $CFG->dboptions = array ( 'dbpersist' => 0, 'dbport' => '', 'dbsocket' => '', 'dbcollation' => 'utf8mb4_general_ci', )…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
$ cat moodle/config.php
<?php  // Moodle configuration file
unset($CFG);
global $CFG;
$CFG = new stdClass();
$CFG->dbtype    = 'mariadb';
$CFG->dblibrary = 'native';
$CFG->dbhost    = 'localhost';
$CFG->dbname    = 'dbname';
$CFG->dbuser    = 'dbuser';
$CFG->dbpass    = 'dbpass';
$CFG->prefix    = 'mdl_';
$CFG->dboptions = array (
  'dbpersist' => 0,
  'dbport' => ,
  'dbsocket' => ,
  'dbcollation' => 'utf8mb4_general_ci',
);
$CFG->wwwroot   = 'https://seminare.foxtom.de';
$CFG->dataroot  = '/var/www/clients/client1/web76/web/moodledata';
$CFG->admin     = 'admin';
$CFG->directorypermissions = 0777;
require_once(__DIR__ . '/lib/setup.php');
// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!