changed line 102 to use relative path in storWebstream()

This commit is contained in:
sebastian 2005-02-16 00:56:20 +00:00
parent 5855bf7b17
commit d779f03e8b
1 changed files with 25 additions and 25 deletions

View File

@ -22,8 +22,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Author : $Author: tomas $ Author : $Author: sebastian $
Version : $Revision: 1.34 $ Version : $Revision: 1.35 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/GreenBox.php,v $ 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 * LiveSupport file storage module
* *
* @author $Author: tomas $ * @author $Author: sebastian $
* @version $Revision: 1.34 $ * @version $Revision: 1.35 $
* @see BasicStor * @see BasicStor
*/ */
class GreenBox extends BasicStor{ class GreenBox extends BasicStor{
@ -99,7 +99,7 @@ class GreenBox extends BasicStor{
{ {
if(($res = $this->_authorize('write', $parid, $sessid)) !== TRUE) if(($res = $this->_authorize('write', $parid, $sessid)) !== TRUE)
return $res; return $res;
if(!file_exists($mdataFileLP)){ $mdataFileLP = '../emptyMdata.xml'; } if(!file_exists($mdataFileLP)){ $mdataFileLP = dirname(__FILE__).'/emptyMdata.xml'; }
$oid = $this->bsPutFile( $oid = $this->bsPutFile(
$parid, $fileName, '', $mdataFileLP, $gunid, 'webstream' $parid, $fileName, '', $mdataFileLP, $gunid, 'webstream'
); );