File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 5
5
Simply run assuming you have installed composer (composer.phar or composer binary) :
6
6
7
7
``` bash
8
- $ php composer.phar require novaway/filemanagementbundle 1. *
8
+ $ php composer.phar require novaway/filemanagementbundle " 2.* "
9
9
```
10
10
11
11
### Configuration
12
12
13
- In your * config.yml* file, you may need to set up the upload root path (realtive to symfony * web* path)
13
+ Register the bundle in ` app/AppKernel.php ` :
14
+
15
+ ``` php
16
+ // app/AppKernel.php
17
+ public function registerBundles()
18
+ {
19
+ return array(
20
+ // ...
21
+ new \Novaway\Bundle\FileManagementBundle\NovawayFileManagementBundle(),
22
+ );
23
+ }
24
+ ```
25
+
26
+ In your * app/config.yml* file, you may need to set up the upload root path (relative to symfony * web* path)
14
27
15
28
``` yaml
16
29
novaway_file_management :
17
30
web_file_path : /uploads/
18
31
` ` `
19
- > **Note** : The *web* path will be used as upload root path if this parameter is not provided.
32
+ > **Note** : The *web* path will be used as upload root path if this parameter is not provided.
You can’t perform that action at this time.
0 commit comments