Fixed installation errors found by Doug.
Moved all database installation into one file (pulled stuff from scheduler and classes). Same with uninstallation. Removed ability to reset the storage through and XMLRPC call. This is very dangerous to allow. Disallowed remote execution of CleanStor.php. Changed database table prefix from "ls_" to "cc_". Removed all groups.
This commit is contained in:
parent
0d3a947e79
commit
73d672b552
28 changed files with 775 additions and 1083 deletions
|
@ -109,8 +109,8 @@ $infos = array(
|
|||
'p'=>array('sessid', 'gunid', 'metadata'), 'r'=>'status'),
|
||||
"searchMetadata" => array('m'=>"locstor.searchMetadata", 'p'=>NULL),
|
||||
"browseCategory" => array('m'=>"locstor.browseCategory", 'p'=>NULL),
|
||||
"resetStorage" => array('m'=>"locstor.resetStorage",
|
||||
'p'=>array()),
|
||||
// "resetStorage" => array('m'=>"locstor.resetStorage",
|
||||
// 'p'=>array()),
|
||||
# 'p'=>array('loadSampleData', 'invalidateSessionIds')),
|
||||
"storeWebstream" => array('m'=>"locstor.storeWebstream",
|
||||
'p'=>array('sessid', 'gunid', 'metadata', 'fname', 'url'),
|
||||
|
@ -259,12 +259,12 @@ switch ($method) {
|
|||
),
|
||||
);
|
||||
break;
|
||||
case "resetStorage":
|
||||
$parr = array(
|
||||
'loadSampleData'=>(boolean)$pars[0],
|
||||
'invalidateSessionIds'=>(boolean)$pars[1],
|
||||
);
|
||||
break;
|
||||
// case "resetStorage":
|
||||
// $parr = array(
|
||||
// 'loadSampleData'=>(boolean)$pars[0],
|
||||
// 'invalidateSessionIds'=>(boolean)$pars[1],
|
||||
// );
|
||||
// break;
|
||||
default:
|
||||
$pinfo = $infos[$method]['p'];
|
||||
if (is_null($pinfo)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue