1<?php
2/**
3 * Default settings for the odt2dw plugin
4 *
5 * @author Greg BELLAMY <garlik.crx@gmail.com> [Gag]
6 */
7
8$conf['debugLvl']                 = 1;                  // debug mode level -- more verbose ( 0: no display; 1: display error msg; 3: display&log error msg all msg; 3: display&log all )
9$conf['logFile']                  = '';                 // log File where $this->_msg write with debugLvl >= 2
10$conf['formDisplayRule']          = 'odt2dw,edit,show'; // which action will display the odt2dw upload form in newpage
11$conf['showimportbutton']         = 1;
12$conf['formIntroMessage']         = 'default';          // personnalized message - if "default", display the language default message
13$conf['formMaxFileSize']          = 2097152;            // maxsize for upload odtFile
14$conf['parserPostDisplay']        = 'show';             // which action perform after parsing the odt file
15$conf['parserXslFile']            = 'odt2dw.xsl';       // name of the xslpage use to transform the odtFile
16$conf['parserLinkToOriginalFile'] = 1;                  // display a link to the original odtFile 0=no link; 1=link
17$conf['parserCoreTimeOut']        = 300;                // the parserCoreTimeOut give specific timeout to parse the xmlFile with the xslFile. Bigger is the odtFile, longer will the parser take.
18$conf['parserUploadDir']          = '/tmp/odt2dw/';     // systeme path where the file will be move after upload but before parse
19$conf['parserMimeTypeAuthorized'] = 'application/vnd.oasis.opendocument.text
20application/octetstream'; // mimetype authorized to be upload
21