mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Use RX_WINDOWS constant in core and file module
This commit is contained in:
parent
76c68c63e0
commit
4ac0a6bf66
4 changed files with 7 additions and 8 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue