forked from linchpinstudios/yii2-filemanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModule.php
More file actions
37 lines (25 loc) · 664 Bytes
/
Module.php
File metadata and controls
37 lines (25 loc) · 664 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
31
32
33
34
35
36
<?php
namespace linchpinstudios\filemanager;
/**
* Module class.
*/
class Module extends \yii\base\Module
{
public $controllerNamespace = 'linchpinstudios\filemanager\controllers';
public $thumbnails = [[100,100]];
public $directory = '@webroot/';
public $path = 'images/uploads/';
public $thumbPath = 'images/uploads/thumb/';
public $url = '/';
public $aws = [
'enable' => false,
'key' => '',
'secret' => '',
'bucket' => '',
];
public function init()
{
parent::init();
// custom initialization code goes here
}
}