[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10151] api: more on phpexcel
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [10151] api: more on phpexcel |
Date: |
Mon, 08 Oct 2012 14:12:12 +0000 |
Revision: 10151
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10151
Author: sigurdne
Date: 2012-10-08 14:12:12 +0000 (Mon, 08 Oct 2012)
Log Message:
-----------
api: more on phpexcel
Modified Paths:
--------------
trunk/phpgwapi/inc/class.phpexcel.inc.php
Modified: trunk/phpgwapi/inc/class.phpexcel.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.phpexcel.inc.php 2012-10-08 12:27:21 UTC (rev
10150)
+++ trunk/phpgwapi/inc/class.phpexcel.inc.php 2012-10-08 14:12:12 UTC (rev
10151)
@@ -33,6 +33,20 @@
* @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 PHPExcel class
* @see PHPExcel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10151] api: more on phpexcel,
Sigurd Nes <=