forked from totumonline/totum-mit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Conf.php.default
46 lines (36 loc) · 928 Bytes
/
Conf.php.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
namespace totum\config;
use totum\common\configs\WithPhpMailerTrait;
use totum\common\configs\ConfParent;
class Conf extends ConfParent{
use WithPhpMailerTrait;
//protected $execSSHOn = true;
protected $hostName="";
protected $schemaName="";
const db=array (
'dsn' => 'pgsql:host=;dbname=',
'host' => 'localhost',
'username' => 'user',
'dbname' => 'totum',
'password' => '11111111',
'charset' => 'UTF8',
'pg_dump' => '',
'psql' => '',
'schema' => 'new_totum',
);
public static $timeLimit = 30;
const adminEmail="";
const ANONYM_ALIAS="An";
const LANG = "ru";
function getDefaultSender(){
return "no-reply@localhost:8080";
}
function getSchema()
{
return static::db["schema"];
}
static function getSchemas()
{
return ["localhost:8080"=>static::db["schema"]];
}
}