File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 3434 'ffprobeOptions ' => '-v quiet -print_format json -show_format -show_streams ' ,
3535
3636 // The path where the transcoded videos are stored; must have a trailing /
37- 'transcoderPath ' => '{DOCUMENT_ROOT}/transcoder/ ' ,
37+ // Yii2 aliases are supported here
38+ 'transcoderPath ' => '@webroot/transcoder/ ' ,
3839
3940 // The URL where the transcoded videos are stored; must have a trailing /
40- 'transcoderUrl ' => '/transcoder/ ' ,
41+ // Yii2 aliases are supported here
42+ 'transcoderUrl ' => '@web/transcoder/ ' ,
4143
4244 // Use a md5 hash for the filenames instead of parameterized naming
4345 'useHashedNames ' => false ,
Original file line number Diff line number Diff line change @@ -47,17 +47,19 @@ class Settings extends Model
4747
4848 /**
4949 * The path where the transcoded videos are stored; must have a trailing /
50+ * Yii2 aliases are supported here
5051 *
5152 * @var string
5253 */
53- public $ transcoderPath = '{DOCUMENT_ROOT} /transcoder/ ' ;
54+ public $ transcoderPath = '@webroot /transcoder/ ' ;
5455
5556 /**
5657 * The URL where the transcoded videos are stored; must have a trailing /
58+ * Yii2 aliases are supported here
5759 *
5860 * @var string
5961 */
60- public $ transcoderUrl = '/transcoder/ ' ;
62+ public $ transcoderUrl = '@web /transcoder/ ' ;
6163
6264 /**
6365 * Use a md5 hash for the filenames instead of parameterized naming
You can’t perform that action at this time.
0 commit comments