Transcode config constants migrated to own file, added enabled option for future feature

This commit is contained in:
Matthew Barbour
2019-10-10 10:32:01 -05:00
committed by Shish
parent 4897063adc
commit 51563017c8
2 changed files with 12 additions and 9 deletions

View File

@ -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
*/