[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [21185] Improvement: odt2xhtml-wrapper 4746:5203
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] [21185] Improvement: odt2xhtml-wrapper 4746:5203 |
Date: |
Wed, 14 Apr 2010 19:05:50 +0000 |
Revision: 21185
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21185
Author: sigurdne
Date: 2010-04-14 19:05:50 +0000 (Wed, 14 Apr 2010)
Log Message:
-----------
Improvement: odt2xhtml-wrapper 4746:5203
Added Paths:
-----------
people/sigurdne/modules/phpgwapi/trunk/inc/class.odt2xhtml.inc.php
Added: people/sigurdne/modules/phpgwapi/trunk/inc/class.odt2xhtml.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.odt2xhtml.inc.php
(rev 0)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.odt2xhtml.inc.php
2010-04-14 19:05:50 UTC (rev 21185)
@@ -0,0 +1,53 @@
+<?php
+ /**
+ * phpGroupWare
+ *
+ * @author Sigurd Nes <address@hidden>
+ * @copyright Copyright (C) 2007,2008 Free Software Foundation, Inc.
http://www.fsf.org/
+ * @license http://www.fsf.org/licenses/gpl.html GNU General Public
License
+ * @package phpgroupware
+ * @subpackage phpgwapi
+ * @category utilities
+ * @version $Id: class.pclzip.inc.php 2588 2009-04-14 11:00:02Z sigurd $
+ */
+
+ /*
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+ /**
+ * Document me!
+ *
+ * @package phpgwapi
+ * @subpackage utilities
+ */
+ if ( !isset($GLOBALS['phpgw_info']['server']['temp_dir'])
+ ||
!is_dir($GLOBALS['phpgw_info']['server']['temp_dir']) )
+ {
+ if ( substr(PHP_OS, 3) == 'WIN' )
+ {
+ $GLOBALS['phpgw_info']['server']['temp_dir'] =
'c:/temp';
+ }
+ else
+ {
+ $GLOBALS['phpgw_info']['server']['temp_dir'] = '/tmp/';
+ }
+ }
+
+ /**
+ * Include the odt2xhtml class
+ * @see odt2xhtml
+ */
+
+ require_once PHPGW_API_INC . '/odt2xhtml/index.php5';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [21185] Improvement: odt2xhtml-wrapper 4746:5203,
Sigurd Nes <=