[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [18542] make sure temp path is valid
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] [18542] make sure temp path is valid |
Date: |
Mon, 26 May 2008 14:29:48 +0000 |
Revision: 18542
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18542
Author: skwashd
Date: 2008-05-26 14:29:48 +0000 (Mon, 26 May 2008)
Log Message:
-----------
make sure temp path is valid
Modified Paths:
--------------
trunk/phpgwapi/inc/class.shm.inc.php
Modified: trunk/phpgwapi/inc/class.shm.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.shm.inc.php 2008-05-26 14:05:24 UTC (rev
18541)
+++ trunk/phpgwapi/inc/class.shm.inc.php 2008-05-26 14:29:48 UTC (rev
18542)
@@ -67,7 +67,8 @@
*/
//This makes sure there is something set for temp
- if ( !isset($GLOBALS['phpgw_info']['server']['temp_dir']) )
+ if ( !isset($GLOBALS['phpgw_info']['server']['temp_dir'])
+ ||
!is_dir($GLOBALS['phpgw_info']['server']['temp_dir']) )
{
if ( substr(PHP_OS, 3) == 'WIN' )
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [18542] make sure temp path is valid,
Dave Hall <=