changed line 102 to use relative path in storWebstream()
This commit is contained in:
parent
5855bf7b17
commit
d779f03e8b
|
@ -22,8 +22,8 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Author : $Author: tomas $
|
||||
Version : $Revision: 1.34 $
|
||||
Author : $Author: sebastian $
|
||||
Version : $Revision: 1.35 $
|
||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/GreenBox.php,v $
|
||||
|
||||
------------------------------------------------------------------------------*/
|
||||
|
@ -34,8 +34,8 @@ require_once "BasicStor.php";
|
|||
*
|
||||
* LiveSupport file storage module
|
||||
*
|
||||
* @author $Author: tomas $
|
||||
* @version $Revision: 1.34 $
|
||||
* @author $Author: sebastian $
|
||||
* @version $Revision: 1.35 $
|
||||
* @see BasicStor
|
||||
*/
|
||||
class GreenBox extends BasicStor{
|
||||
|
@ -99,7 +99,7 @@ class GreenBox extends BasicStor{
|
|||
{
|
||||
if(($res = $this->_authorize('write', $parid, $sessid)) !== TRUE)
|
||||
return $res;
|
||||
if(!file_exists($mdataFileLP)){ $mdataFileLP = '../emptyMdata.xml'; }
|
||||
if(!file_exists($mdataFileLP)){ $mdataFileLP = dirname(__FILE__).'/emptyMdata.xml'; }
|
||||
$oid = $this->bsPutFile(
|
||||
$parid, $fileName, '', $mdataFileLP, $gunid, 'webstream'
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue