updated: player function to fetch videos

This commit is contained in:
sajjadcb 2014-04-15 09:05:50 +00:00
parent 2d2172aafe
commit 8dd20c31d3

View file

@ -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 &");
}
}