fixed: automatic video uploading
This commit is contained in:
parent
b8f9f99e28
commit
37a9b7fbd9
1 changed files with 3 additions and 3 deletions
|
@ -154,11 +154,11 @@ switch($mode)
|
|||
{
|
||||
//exec(php_path()." -q ".BASEDIR."/actions/video_convert.php &> /dev/null &");
|
||||
if (stristr(PHP_OS, 'WIN')) {
|
||||
echo php_path()." -q ".BASEDIR."/actions/video_convert_test.php $targetFileName";
|
||||
//echo php_path()." -q ".BASEDIR."/actions/video_convert_test.php $targetFileName";
|
||||
exec(php_path()." -q ".BASEDIR."/actions/video_convert_test.php $targetFileName");
|
||||
} else {
|
||||
// for ubuntu
|
||||
echo php_path()." -q ".BASEDIR."/actions/video_convert_test.php $targetFileName > /dev/null &";
|
||||
// for ubuntu or linux
|
||||
//echo php_path()." -q ".BASEDIR."/actions/video_convert_test.php $targetFileName > /dev/null &";
|
||||
exec(php_path()." -q ".BASEDIR."/actions/video_convert_test.php $targetFileName > /dev/null &");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue