updated: player function to fetch videos
This commit is contained in:
parent
2d2172aafe
commit
8dd20c31d3
1 changed files with 2 additions and 0 deletions
|
@ -154,9 +154,11 @@ switch($mode)
|
|||
{
|
||||
//exec(php_path()." -q ".BASEDIR."/actions/video_convert.php &> /dev/null &");
|
||||
if (stristr(PHP_OS, 'WIN')) {
|
||||
echo "win";
|
||||
exec(php_path()." -q ".BASEDIR."/actions/video_convert_test.php $targetFileName");
|
||||
} else {
|
||||
// for ubuntu
|
||||
echo "ubuntu";
|
||||
exec(php_path()." -q ".BASEDIR."/actions/video_convert_test.php $targetFileName > /dev/null &");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue