forked from luyadev/luya
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
45 additions
and
157 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,6 @@ | ||
[submodule "envs/dev/modules/luya-module-admin"] | ||
path = envs/dev/modules/luya-module-admin | ||
url = [email protected]:luyadev/luya-module-admin.git | ||
[submodule "envs/dev/modules/luya-module-cms"] | ||
path = envs/dev/modules/luya-module-cms | ||
url = [email protected]:luyadev/luya-module-cms.git |
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
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
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 |
---|---|---|
@@ -1,56 +1,53 @@ | ||
<?php | ||
|
||
defined('YII_DEBUG') or define('YII_DEBUG', true); | ||
defined('YII_ENV') or define('YII_ENV', 'dev'); | ||
define('YII_DEBUG', true); | ||
define('YII_ENV', 'dev'); | ||
|
||
$config = [ | ||
return [ | ||
'id' => 'testenv', // For best interoperability it is recommended that you use only alphanumeric characters when specifying an application ID | ||
'siteTitle' => 'Test-Env', // The name of your site, will be display on the login screen | ||
'basePath' => dirname(__DIR__), | ||
'defaultRoute' => 'cms', // set the default module | ||
'modules' => [ | ||
'modules' => [ | ||
// locale | ||
'ngresttestadmin' => 'ngresttest\Module', | ||
|
||
// modules folder | ||
'cms' => 'luya\cms\frontend\Module', | ||
'cmsadmin' => 'luya\cms\admin\Module', | ||
'admin' => 'luya\admin\Module', | ||
'crawler' => [ | ||
'class' => 'luya\crawler\frontend\Module', | ||
'baseUrl' => 'http://luya.io', | ||
'cmsadmin' => [ | ||
'class' => 'luya\cms\admin\Module', | ||
], | ||
'admin' => [ | ||
'class' => 'luya\admin\Module', | ||
'interfaceLanguage' => 'ru', | ||
'secureLogin' => false, | ||
], | ||
'crawleradmin' => 'luya\crawler\admin\Module', | ||
'news' => 'luya\news\frontend\Module', | ||
'newsadmin' => 'luya\news\admin\Module', | ||
|
||
// yii2 | ||
'gii' => 'yii\gii\Module', | ||
'debug' => 'yii\debug\Module', | ||
], | ||
'components' => [ | ||
'mail' => [ | ||
], | ||
'errorHandler' => [ | ||
'mail' => [ | ||
'password' => 'HalloZephir2015!', | ||
], | ||
'errorHandler' => [ | ||
'transferException' => false, | ||
], | ||
'db' => [ | ||
'class' => 'yii\db\Connection', | ||
'dsn' => 'mysql:host=localhost;dbname=DB_NAME', | ||
'dsn' => 'mysql:host=localhost;dbname=luya_envs_dev', | ||
// 'dsn' => 'mysql:host=localhost;dbname=DB_NAME;unix_socket=/Applications/MAMP/tmp/mysql/mysql.sock', // OSX MAMP | ||
// 'dsn' => 'mysql:host=localhost;dbname=DB_NAME;/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock', // OSX XAMPP | ||
'username' => '', | ||
'password' => '', | ||
'username' => 'root', | ||
'password' => 'defaultPassword', | ||
'charset' => 'utf8' | ||
], | ||
'cache' => [ | ||
'class' => 'yii\caching\DummyCache', | ||
], | ||
'assetManager' => [ | ||
'class' => 'luya\web\AssetManager', | ||
'linkAssets' => true, | ||
], | ||
'class' => 'luya\web\AssetManager', | ||
'linkAssets' => true, | ||
], | ||
], | ||
'bootstrap' => [ | ||
'luya\cms\frontend\Bootstrap', 'debug' | ||
'debug', 'luya\cms\frontend\Bootstrap', // 'nord\yii\account\Bootstrap', | ||
] | ||
]; | ||
|
||
return $config; | ||
]; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
envs/dev/modules/contactmanager/frontend/controllers/DefaultController.php
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
envs/dev/modules/contactmanager/frontend/views/default/index.php
This file was deleted.
Oops, something went wrong.
Submodule luya-module-admin
added at
215fd1
Submodule luya-module-cms
added at
058243