1755c393
Yarik
Basic template in...
|
1
|
<?php
|
8596ef4b
Alexey Boroda
-Seo component ready
|
2
3
|
use artbox\core\components\SeoComponent;
|
6966d71b
Yarik
Makeup
|
4
5
|
return [
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
|
6e516b40
Yarik
Layout complete
|
6
7
8
9
10
11
12
13
14
15
16
17
18
|
'modules' => [
'imagemanager' => [
'class' => 'noam148\imagemanager\Module',
'canUploadImage' => true,
'canRemoveImage' => function () {
return true;
},
'setBlameableBehavior' => false,
'cssFiles' => [
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css',
],
],
],
|
6966d71b
Yarik
Makeup
|
19
|
'components' => [
|
6e516b40
Yarik
Layout complete
|
20
|
'cache' => [
|
6966d71b
Yarik
Makeup
|
21
22
|
'class' => 'yii\caching\FileCache',
],
|
6e516b40
Yarik
Layout complete
|
23
|
'i18n' => [
|
6966d71b
Yarik
Makeup
|
24
|
'translations' => [
|
bfe59de8
Alexey Boroda
-Category in process
|
25
|
'core' => [
|
6966d71b
Yarik
Makeup
|
26
|
'class' => 'yii\i18n\PhpMessageSource',
|
46b1243b
Yarik
v0.0.3-stable
|
27
|
'basePath' => '@artbox/core/messages',
|
da98f90d
Yarik
Models and contro...
|
28
|
],
|
bfe59de8
Alexey Boroda
-Category in process
|
29
|
'app' => [
|
5e6d26a9
Yarik
RC
|
30
31
32
|
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@common/messages',
],
|
b313037a
Alexey Boroda
-Flesh widget ready
|
33
34
|
],
],
|
6e516b40
Yarik
Layout complete
|
35
|
'filedb' => [
|
6966d71b
Yarik
Makeup
|
36
37
38
|
'class' => 'yii2tech\filedb\Connection',
'path' => '@common/config',
],
|
6e516b40
Yarik
Layout complete
|
39
|
'sitemapdb' => [
|
a42025b8
Yarik
Sitemap and slugb...
|
40
41
42
43
|
'class' => 'yii2tech\filedb\Connection',
'path' => '@common/config',
'primaryKeyName' => 'id',
],
|
6e516b40
Yarik
Layout complete
|
44
|
'seo' => [
|
8596ef4b
Alexey Boroda
-Seo component ready
|
45
46
|
'class' => SeoComponent::className(),
],
|
6e516b40
Yarik
Layout complete
|
47
48
|
'imagemanager' => [
'class' => 'noam148\imagemanager\components\ImageManagerGetPath',
|
476ebf6c
Yarik
Preready
|
49
|
'mediaPath' => dirname(dirname(__DIR__)) . '/common/images',
|
6e516b40
Yarik
Layout complete
|
50
51
52
53
|
'cachePath' => 'assets/images',
'useFilename' => true,
'absoluteUrl' => false,
],
|
b313037a
Alexey Boroda
-Flesh widget ready
|
54
|
],
|
6966d71b
Yarik
Makeup
|
55
|
];
|