2 /*////////////////////////////////////////////////////////
\r
3 global vars: (these may be shared)
\r
4 //////////////////////////////////////////////////////*/
\r
6 define('MAX_FILE_SIZE', '10485760'); //10M
\r
8 // store the Caption Formats available
\r
9 $ccFormats = Array();
\r
12 /*////////////////////////////////////////////////////////
\r
14 //////////////////////////////////////////////////////*/
\r
15 $rosettaCCSettings = Array();
\r
16 $rosettaCCSettings['fileMaxSize'] = 5000000;
\r
17 $rosettaCCSettings['uploadDir'] = 'imported';
\r
18 $rosettaCCSettings['ccformats'] = './include/classes/ccformats';
\r
21 define('SERVER_OS','linux');
\r
24 define('ROSETTA_WEB_PATH','http://filoante.com/capscribe/service');
\r
27 define('ROSETTA_ROOT_PATH','/capscribe/service'); // linux server
\r
29 // determine if the server has get_magic_quotes_gpc on
\r
30 if ( get_magic_quotes_gpc() == 1 )
\r
32 $rosettaCCSettings['get_magic_quotes_gpc'] = 1;
\r
33 //echo '<br/>get_magic_quotes_gpc = 1';
\r
35 $rosettaCCSettings['get_magic_quotes_gpc'] = 0;
\r
36 //echo '<br/>get_magic_quotes_gpc != 1';
\r