-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config-dist.php: Added configuration file for Odissea
- Loading branch information
1 parent
4c1a33c
commit c2025ab
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
|
||
unset($CFG); | ||
global $CFG; | ||
|
||
$CFG = new stdClass(); | ||
|
||
$CFG->dbtype = 'pgsql'; | ||
$CFG->dblibrary = 'native'; | ||
$CFG->dbhost = ''; | ||
$CFG->dbname = ''; | ||
$CFG->dbuser = ''; | ||
$CFG->dbpass = ''; | ||
$CFG->prefix = ''; | ||
|
||
$CFG->dboptions = [ | ||
'dbpersist' => 0, | ||
'fetchbuffersize' => 0, | ||
'dbsocket' => 0, | ||
'dbport' => 5432, | ||
]; | ||
|
||
$CFG->wwwroot = ''; | ||
$CFG->dataroot = ''; | ||
$CFG->admin = 'admin'; | ||
|
||
$CFG->passwordsaltmain = ''; | ||
|
||
// Application cache | ||
$CFG->memcache_servers = ''; | ||
$CFG->redis_servers = ''; | ||
|
||
// Redis for application lock | ||
$CFG->local_redislock_redis_server = ''; | ||
|
||
// Redis for sessions | ||
$CFG->session_redis_host = ''; | ||
$CFG->session_redis_port = 6379; // Optional | ||
|
||
$CFG->smtphosts = ''; | ||
$CFG->smtpuser = ''; | ||
$CFG->smtppass = ''; | ||
$CFG->noreplyaddress = ''; | ||
|
||
require_once __DIR__ . '/local/agora/lib.php'; | ||
require_once __DIR__ . '/settings.php'; | ||
require_once __DIR__ . '/lib/setup.php'; | ||
|