Use RX_WINDOWS constant in core and file module

This commit is contained in:
Kijin Sung 2020-02-14 16:16:33 +09:00
parent 76c68c63e0
commit 4ac0a6bf66
4 changed files with 7 additions and 8 deletions

View file

@ -1178,7 +1178,7 @@ class fileController extends file
$adjusted['height'] -= $adjusted['height'] % 2;
// Convert using ffmpeg
if(strtoupper(substr(\PHP_OS, 0, 3)) === 'WIN')
if (RX_WINDOWS)
{
$command = escapeshellarg($config->ffmpeg_command);
}