-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.env.php
42 lines (36 loc) · 1.63 KB
/
.env.php
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
<?php
/*
* This file is part of App Project.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
$_ENV['ENVIRONMENT'] = 'development';
//$_ENV['ENVIRONMENT'] = 'production';
// App -------------------------------------------------------------------------
$_ENV['app.default.origin'] = 'http://localhost:8080';
// Cache -----------------------------------------------------------------------
$_ENV['cache.default.class'] = Framework\Cache\FilesCache::class;
$_ENV['cache.default.configs'] = [
'directory' => __DIR__ . '/storage/cache',
];
$_ENV['cache.default.prefix'] = null;
// Database --------------------------------------------------------------------
$_ENV['database.default.config.username'] = 'root';
$_ENV['database.default.config.password'] = 'password';
$_ENV['database.default.config.schema'] = 'framework-tests';
$_ENV['database.default.config.host'] = 'localhost';
// Logger ----------------------------------------------------------------------
$_ENV['logger.default.class'] = Framework\Log\Loggers\MultiFileLogger::class;
$_ENV['logger.default.destination'] = __DIR__ . '/storage/logs';
$_ENV['logger.default.level'] = Framework\Log\LogLevel::DEBUG;
// Mailer ----------------------------------------------------------------------
$_ENV['mailer.default.host'] = 'localhost';
$_ENV['mailer.default.port'] = 587;
$_ENV['mailer.default.username'] = null;
$_ENV['mailer.default.password'] = null;
// Request ---------------------------------------------------------------------
$_ENV['request.default.allowed_hosts'] = [
//'localhost',
//'localhost:8080',
];