Use power of symfony binary file response

Add commands

Fix typo

Remove extra line
This commit is contained in:
Nicolas Le Goff
2013-06-26 15:37:51 +02:00
committed by Romain Neutron
parent 7fc9eb3010
commit 01a36ee9f7
16 changed files with 423 additions and 118 deletions

View File

@@ -351,9 +351,8 @@ class API_V1_adapter extends API_V1_Abstract
'defaultLanguage' => $app['phraseanet.registry']->get('id_GV_default_lng'),
'allowIndexing' => $app['phraseanet.registry']->get('GV_allow_search_engine'),
'modes' => array(
'XsendFile' => $app['phraseanet.registry']->get('GV_modxsendfile'),
'nginxXAccelRedirect' => $app['phraseanet.registry']->get('GV_X_Accel_Redirect'),
'nginxXAccelRedirectMountPoint' => $app['phraseanet.registry']->get('GV_X_Accel_Redirect_mount_point'),
'XsendFile' => $app['phraseanet.configuration']['xsendfile']['enable'],
'XsendFileMapping' => $app['phraseanet.configuration']['xsendfile']['mapping'],
'h264Streaming' => $app['phraseanet.registry']->get('GV_h264_streaming'),
'authTokenDirectory' => $app['phraseanet.registry']->get('GV_mod_auth_token_directory'),
'authTokenDirectoryPath' => $app['phraseanet.registry']->get('GV_mod_auth_token_directory_path'),