minor changes
This commit is contained in:
parent
6ea52e06e6
commit
d66291b067
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.9 $
|
Version : $Revision: 1.10 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/conf.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/conf.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -65,10 +65,10 @@ $config = array(
|
||||||
'tblNamePrefix' => 'ls_',
|
'tblNamePrefix' => 'ls_',
|
||||||
'authCookieName'=> 'lssid',
|
'authCookieName'=> 'lssid',
|
||||||
'StationPrefsGr'=> 'StationPrefs',
|
'StationPrefsGr'=> 'StationPrefs',
|
||||||
'storageDir' => dirname(getcwd()).'/stor',
|
'storageDir' => dirname(__FILE__).'/stor',
|
||||||
'bufferDir' => dirname(getcwd()).'/stor/buffer',
|
'bufferDir' => dirname(__FILE__).'/stor/buffer',
|
||||||
'transDir' => dirname(getcwd()).'/trans',
|
'transDir' => dirname(__FILE__).'/trans',
|
||||||
'accessDir' => dirname(getcwd()).'/access',
|
'accessDir' => dirname(__FILE__).'/access',
|
||||||
'isArchive' => FALSE,
|
'isArchive' => FALSE,
|
||||||
|
|
||||||
/* ==================================================== URL configuration */
|
/* ==================================================== URL configuration */
|
||||||
|
|
|
@ -29,7 +29,7 @@ switch($_REQUEST['act']){
|
||||||
# echo"<pre>\n$path\n$upath<hr>\n"; print_r($_FILES); print_r($_REQUEST); exit;
|
# echo"<pre>\n$path\n$upath<hr>\n"; print_r($_FILES); print_r($_REQUEST); exit;
|
||||||
$tpldata=array_merge($tpldata, array(
|
$tpldata=array_merge($tpldata, array(
|
||||||
'pathdata' => $gb->getPath($id, $sessid),
|
'pathdata' => $gb->getPath($id, $sessid),
|
||||||
'listdata' => ($gb->getObjType($id)=='Folder'?
|
'listdata' => ($gb->getFileType($id)=='Folder'?
|
||||||
$gb->listFolder($id, $sessid):array()
|
$gb->listFolder($id, $sessid):array()
|
||||||
),
|
),
|
||||||
'tree' => ($_REQUEST['tree']=='Y'),
|
'tree' => ($_REQUEST['tree']=='Y'),
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: tomas $
|
Author : $Author: tomas $
|
||||||
Version : $Revision: 1.1 $
|
Version : $Revision: 1.2 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/tests/webstreamTest.php,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/tests/webstreamTest.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -42,7 +42,8 @@ $gb = &new GreenBox($dbc, $config);
|
||||||
|
|
||||||
#$gunid = "123456789abcdee0";
|
#$gunid = "123456789abcdee0";
|
||||||
$gunid = "";
|
$gunid = "";
|
||||||
$mdataFileLP = '../tests/mdata1.xml';
|
#$mdataFileLP = '../tests/mdata1.xml';
|
||||||
|
$mdataFileLP = NULL;
|
||||||
|
|
||||||
echo"# Login: ".($sessid = $gb->login('root', 'q'))."\n";
|
echo"# Login: ".($sessid = $gb->login('root', 'q'))."\n";
|
||||||
$parid = $gb->_getHomeDirId($sessid);
|
$parid = $gb->_getHomeDirId($sessid);
|
||||||
|
|
Loading…
Reference in New Issue