PHP 8.2.30
Preview: config.php Size: 746 B
/var/softaculous/moodle20/config.php

<?php  // Moodle configuration file

unset($CFG);
global $CFG;
$CFG = new stdClass();
$CFG->dbtype    = 'mysqli';
$CFG->dblibrary = 'native';
$CFG->dbhost    = '[[softdbhost]]';
$CFG->dbname    = '[[softdb]]';
$CFG->dbuser    = '[[softdbuser]]';
$CFG->dbpass    = '[[softdbpass]]';
$CFG->prefix    = '[[dbprefix]]';
$CFG->dboptions = array (
  'dbpersist' => 0,
  'dbsocket' => 0,
);

$CFG->wwwroot   = '[[punycode_softurl]]';
$CFG->dataroot  = '[[softdatadir]]';
$CFG->admin     = 'admin';

$CFG->directorypermissions = 0777;

$CFG->passwordsaltmain = '[[passwordsaltmain]]';

require_once(dirname(__FILE__) . '/lib/setup.php');

// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!

Directory Contents

Dirs: 5 × Files: 15

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2024-03-21 11:26:59
Edit Download
php53 DIR
- drwxr-xr-x 2024-03-21 11:26:59
Edit Download
php56 DIR
- drwxr-xr-x 2024-03-21 11:26:59
Edit Download
php71 DIR
- drwxr-xr-x 2024-03-21 11:26:59
Edit Download
php81 DIR
- drwxr-xr-x 2024-03-21 11:26:59
Edit Download
733 B lrw-r--r-- 2022-06-30 12:50:36
Edit Download
4.65 KB lrw-r--r-- 2023-03-21 08:18:10
Edit Download
746 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
5.44 KB lrw-r--r-- 2023-03-21 08:18:10
Edit Download
433 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
455 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
4.54 KB lrw-r--r-- 2023-03-21 08:18:10
Edit Download
1.94 KB lrw-r--r-- 2023-03-21 08:17:14
Edit Download
921 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
10.62 KB lrw-r--r-- 2023-03-21 08:18:10
Edit Download
2.07 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
4.01 KB lrw-r--r-- 2023-03-21 08:18:10
Edit Download
381 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
5.71 KB lrw-r--r-- 2023-03-21 08:18:10
Edit Download
307 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).