1
0
Fork 0
mirror of https://github.com/janickiy/yii2-nomer synced 2025-03-09 15:39:59 +00:00

add files to project

This commit is contained in:
janickiy 2020-02-05 06:34:26 +03:00
commit 5cac498444
3729 changed files with 836998 additions and 0 deletions

9
env/alexander/config/db.php vendored Normal file
View file

@ -0,0 +1,9 @@
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'pgsql:host=localhost;dbname=soc2phone',
'username' => 'soc2phone',
'password' => 'soc2phone',
'charset' => 'utf8',
];

11
env/alexander/index.php vendored Normal file
View file

@ -0,0 +1,11 @@
<?php
// comment out the following two lines when deployed to production
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');
require(__DIR__ . '/../vendor/autoload.php');
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
$config = require(__DIR__ . '/../config/web.php');
(new yii\web\Application($config))->run();

50
env/index.php vendored Normal file
View file

@ -0,0 +1,50 @@
<?php
/**
* The manifest of files that are local to specific environment.
* This file returns a list of environments that the application
* may be installed under. The returned data must be in the following
* format:
*
* ```php
* return [
* 'environment name' => [
* 'path' => 'directory storing the local files',
* 'writable' => [
* // list of directories that should be set writable
* ],
* ],
* ];
* ```
*/
return [
'alexander' => [
'path' => 'alexander',
'writable' => [
'runtime',
'assets',
],
'executable' => [
'yii',
],
],
'vladimir' => [
'path' => 'vladimir',
'writable' => [
'runtime',
'assets',
],
'executable' => [
'yii',
],
],
'production' => [
'path' => 'production',
'writable' => [
'runtime',
'assets',
],
'executable' => [
'yii',
],
],
];

9
env/production/config/db.php vendored Normal file
View file

@ -0,0 +1,9 @@
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'pgsql:host=localhost;dbname=soc2phone',
'username' => 'soc2phone',
'password' => 'soc2phone',
'charset' => 'utf8',
];

11
env/production/index.php vendored Normal file
View file

@ -0,0 +1,11 @@
<?php
// comment out the following two lines when deployed to production
defined('YII_DEBUG') or define('YII_DEBUG', false);
defined('YII_ENV') or define('YII_ENV', 'production');
require(__DIR__ . '/../vendor/autoload.php');
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
$config = require(__DIR__ . '/../config/web.php');
(new yii\web\Application($config))->run();

9
env/vladimir/config/db.php vendored Normal file
View file

@ -0,0 +1,9 @@
<?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'pgsql:host=localhost;dbname=soc2phone',
'username' => 'soc2phone',
'password' => 'soc2phone',
'charset' => 'utf8',
];

11
env/vladimir/index.php vendored Normal file
View file

@ -0,0 +1,11 @@
<?php
// comment out the following two lines when deployed to production
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');
require(__DIR__ . '/../vendor/autoload.php');
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
$config = require(__DIR__ . '/../config/web.php');
(new yii\web\Application($config))->run();