Transcode config constants migrated to own file, added enabled option for future feature
This commit is contained in:
parent
4897063adc
commit
51563017c8
2 changed files with 12 additions and 9 deletions
11
ext/transcode/config.php
Normal file
11
ext/transcode/config.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
class TranscodeConfig
|
||||
{
|
||||
const ENGINE = "transcode_engine";
|
||||
const ENABLED = "transcode_enabled";
|
||||
const GET_ENABLED = "transcode_get_enabled";
|
||||
const UPLOAD = "transcode_upload";
|
||||
const UPLOAD_PREFIX = "transcode_upload_";
|
||||
const QUALITY = "transcode_quality";
|
||||
}
|
|
@ -1,14 +1,6 @@
|
|||
<?php
|
||||
|
||||
class TranscodeConfig
|
||||
{
|
||||
const ENGINE = "transcode_engine";
|
||||
const ENABLED = "transcode_enabled";
|
||||
const UPLOAD = "transcode_upload";
|
||||
const UPLOAD_PREFIX = "transcode_upload_";
|
||||
const QUALITY = "transcode_quality";
|
||||
}
|
||||
|
||||
require_once "config.php";
|
||||
/*
|
||||
* This is used by the image transcoding code when there is an error while transcoding
|
||||
*/
|
||||
|
|
Reference in a new issue