diff --git a/livesupport/modules/storageServer/var/GreenBox.php b/livesupport/modules/storageServer/var/GreenBox.php
index c7f45f85d..affe9b1e1 100644
--- a/livesupport/modules/storageServer/var/GreenBox.php
+++ b/livesupport/modules/storageServer/var/GreenBox.php
@@ -23,7 +23,7 @@
Author : $Author: tomas $
- Version : $Revision: 1.33 $
+ Version : $Revision: 1.34 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/GreenBox.php,v $
------------------------------------------------------------------------------*/
@@ -35,7 +35,7 @@ require_once "BasicStor.php";
* LiveSupport file storage module
*
* @author $Author: tomas $
- * @version $Revision: 1.33 $
+ * @version $Revision: 1.34 $
* @see BasicStor
*/
class GreenBox extends BasicStor{
@@ -99,6 +99,7 @@ class GreenBox extends BasicStor{
{
if(($res = $this->_authorize('write', $parid, $sessid)) !== TRUE)
return $res;
+ if(!file_exists($mdataFileLP)){ $mdataFileLP = '../emptyMdata.xml'; }
$oid = $this->bsPutFile(
$parid, $fileName, '', $mdataFileLP, $gunid, 'webstream'
);
diff --git a/livesupport/modules/storageServer/var/LocStor.php b/livesupport/modules/storageServer/var/LocStor.php
index 01d9a8dda..e623391fc 100644
--- a/livesupport/modules/storageServer/var/LocStor.php
+++ b/livesupport/modules/storageServer/var/LocStor.php
@@ -23,7 +23,7 @@
Author : $Author: tomas $
- Version : $Revision: 1.30 $
+ Version : $Revision: 1.31 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/LocStor.php,v $
------------------------------------------------------------------------------*/
@@ -527,15 +527,7 @@ class LocStor extends BasicStor{
$oid = $this->addObj($tmpFname , 'File', $parid);
if(PEAR::isError($oid)) return $oid;
$ac =& StoredFile::insert($this, $oid, '', '',
- ''.
- ''.
- ' '.
- '',
- 'string', $playlistId, 'playlist'
+ '../emptyPlaylist.xml', 'file', $playlistId, 'playlist'
);
if(PEAR::isError($ac)){
$res = $this->removeObj($oid);
diff --git a/livesupport/modules/storageServer/var/emptyMdata.xml b/livesupport/modules/storageServer/var/emptyMdata.xml
new file mode 100644
index 000000000..8cdaf699d
--- /dev/null
+++ b/livesupport/modules/storageServer/var/emptyMdata.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
diff --git a/livesupport/modules/storageServer/var/emptyPlaylist.xml b/livesupport/modules/storageServer/var/emptyPlaylist.xml
new file mode 100644
index 000000000..3f426de05
--- /dev/null
+++ b/livesupport/modules/storageServer/var/emptyPlaylist.xml
@@ -0,0 +1,8 @@
+
+
+
+