-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfig.php
More file actions
30 lines (23 loc) · 767 Bytes
/
config.php
File metadata and controls
30 lines (23 loc) · 767 Bytes
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
<?php
define('DB_HOST','localhost');
define('DB_NAME','varvar');
define('DB_USER','root');
define('DB_PASSWORD','');
$_ENV['DOIT_UPLOAD_EXTENSIONS'] = 'css|rar';
//define('DB_PRODUCTION',true);
/*
//Образец код настройки
$_ENV["DOIT_OPTIMIZE_IMAGES"] = true;
$_ENV["DOIT_OPTIMIZE_IMAGES_EXTEND"]=array(
'PNG'=>'pngquant --quality=60-90 - < #SOURCE# > #DEST#', //https://pngquant.org/
'JPG'=>'E:\OpenServer\modules\php\PHP-5.6\ext\cjpeg -quality 70 #SOURCE# > #DEST#', // https://mozjpeg.codelove.de/binaries.html
);
*/
//define('MULTISITE',true);
/*
define('DB_TYPE','pgsql');
define('DB_HOST','localhost');
define('DB_NAME','varvar');
define('DB_USER','postgres');
define('DB_PASSWORD','12345');
*/