1<?php 2/** 3 * Default settings for the odtplus2dw plugin 4 * 5 * @author Greg BELLAMY <garlik.crx@gmail.com> [Gag] 6 * @author José Torrecilla <qky669@gmail.com> 7 */ 8 9$conf['debugLvl'] = 1; // debug mode level -- more verbose ( 0: no display; 1: display error msg; 2: display&log error msg; 3: display&log all ) 10$conf['logFile'] = ''; // log File where $this->_msg write with debugLvl >= 2 11$conf['formDisplayRule'] = // which action will display the odtplus2dw upload form in newpage 12'odtplus2dw,edit,show'; 13$conf['showimportbutton'] = 1; // Show import button in pagetools. 0=no; 1=yes 14$conf['formIntroMessage'] = 'default'; // personnalized message - if "default", display the language default message 15$conf['formMaxFileSize'] = 2097152; // maxsize for userFile upload 16$conf['parserPostDisplay'] = 'show'; // which action perform after parsing the odt file 17$conf['parserXslFile'] = 'odt2dw.xsl'; // name of the xslpage use to transform the odt file 18$conf['parserLinkToOriginalFile'] = 0; // display a link to the original userFile 0=no link; 1=link 19$conf['parserCoreTimeOut'] = 300; // the parserCoreTimeOut give specific timeout to parse the xmlFile with the xslFile. Bigger is the odt file, longer will the parser take. 20$conf['parserUploadDir'] = '/tmp/odtplus2dw/'; // system path where the file will be moved after upload but before parse 21$conf['parserMimeTypeAuthorized'] = // mimetypes authorized to be uploaded 22'application/vnd.oasis.opendocument.text 23application/octetstream 24application/vnd.openxmlformats-officedocument.wordprocessingml.document 25application/msword'; 26$conf['parserMimeTypePandoc'] = // mimetype that need Pandoc conversion 27'application/vnd.openxmlformats-officedocument.wordprocessingml.document'; 28$conf['parserMimeTypeSOffice'] = // mimetype that need SOffice conversion' 29'application/msword'; 30