mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
b51749e631
|
@ -682,10 +682,12 @@ $categories = $dms->getDocumentCategories();
|
|||
if($categories) {
|
||||
echo "<documentcategories>\n";
|
||||
foreach($categories as $category) {
|
||||
echo " <documentcategory id=\"".$category->getId()."\">\n";
|
||||
echo " <attr name=\"name\">".wrapWithCData($category->getName())."</attr>\n";
|
||||
echo " </documentcategory>\n";
|
||||
$statistic['documentcategories']++;
|
||||
if($category->getId() > 0) {
|
||||
echo " <documentcategory id=\"".$category->getId()."\">\n";
|
||||
echo " <attr name=\"name\">".wrapWithCData($category->getName())."</attr>\n";
|
||||
echo " </documentcategory>\n";
|
||||
$statistic['documentcategories']++;
|
||||
}
|
||||
}
|
||||
echo "</documentcategories>\n";
|
||||
}
|
||||
|
|
|
@ -1898,6 +1898,7 @@ if(isset($options['config'])) {
|
|||
}
|
||||
|
||||
include($myincpath."/inc/inc.Settings.php");
|
||||
include($myincpath."/inc/inc.Utils.php");
|
||||
include($myincpath."/inc/inc.Init.php");
|
||||
include($myincpath."/inc/inc.Extension.php");
|
||||
include($myincpath."/inc/inc.DBInit.php");
|
||||
|
@ -1958,6 +1959,7 @@ if(isset($options['sections'])) {
|
|||
$sections = explode(',', $options['sections']);
|
||||
}
|
||||
|
||||
/*
|
||||
if(isset($settings->_extraPath))
|
||||
ini_set('include_path', $settings->_extraPath. PATH_SEPARATOR .ini_get('include_path'));
|
||||
|
||||
|
@ -1973,7 +1975,7 @@ if(!$settings->_doNotCheckDBVersion && !$dms->checkVersion()) {
|
|||
exit;
|
||||
}
|
||||
$dms->setRootFolderID($settings->_rootFolderID);
|
||||
|
||||
*/
|
||||
$rootfolder = $dms->getFolder($folderid);
|
||||
if(!$rootfolder) {
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user