Update main.php
This commit is contained in:
parent
b0e12f6a6c
commit
3753a1b6d6
@ -11,8 +11,6 @@
|
|||||||
* This is used by the graphics code when there is an error
|
* This is used by the graphics code when there is an error
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use FFMpeg\FFMpeg;
|
|
||||||
|
|
||||||
abstract class GraphicsConfig
|
abstract class GraphicsConfig
|
||||||
{
|
{
|
||||||
const FFMPEG_PATH = "graphics_ffmpeg_path";
|
const FFMPEG_PATH = "graphics_ffmpeg_path";
|
||||||
@ -169,7 +167,7 @@ class Graphics extends Extension
|
|||||||
$config->set_default_string(GraphicsConfig::FFPROBE_PATH, 'ffprobe');
|
$config->set_default_string(GraphicsConfig::FFPROBE_PATH, 'ffprobe');
|
||||||
$config->set_default_int(GraphicsConfig::MEM_LIMIT, parse_shorthand_int('8MB'));
|
$config->set_default_int(GraphicsConfig::MEM_LIMIT, parse_shorthand_int('8MB'));
|
||||||
$config->set_default_string(GraphicsConfig::FFMPEG_PATH, '');
|
$config->set_default_string(GraphicsConfig::FFMPEG_PATH, '');
|
||||||
$config->set_default_string(GraphicsConfig::CONVERT_PATH, '');
|
$config->set_default_string(GraphicsConfig::CONVERT_PATH, 'convert');
|
||||||
|
|
||||||
|
|
||||||
if ($config->get_int(GraphicsConfig::VERSION) < 1) {
|
if ($config->get_int(GraphicsConfig::VERSION) < 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user