Ticket #12731: mythweb.patch

File mythweb.patch, 632 bytes (added by charles.bovy@…, 3 years ago)
  • set_flvplayer.php

    old new  
    2323         title="<?php echo t('Enable Flash Video player for recordings.') ?>"
    2424        <?php
    2525            $ffmpeg = '';
    26             foreach (split (':', getenv ('PATH').':/usr/local/bin:/usr/bin') as $path) {
     26            foreach (preg_split ('/:/', getenv ('PATH').':/usr/local/bin:/usr/bin') as $path) {
    2727                if (file_exists ($path."/ffmpeg")) {
    2828                    $ffmpeg = $path."/ffmpeg";
    2929                    break;