no longer include Core.php from SeedDMS, use vendor/seeddms/core instead

This commit is contained in:
Uwe Steinmann 2023-01-20 12:21:14 +01:00
parent 88874155b0
commit 9df57ebe67
2 changed files with 2 additions and 2 deletions

View File

@ -1479,7 +1479,7 @@ class Settings { /* {{{ */
if(!empty($this->_coreDir)) if(!empty($this->_coreDir))
require_once($this->_coreDir.'/Core.php'); require_once($this->_coreDir.'/Core.php');
else else
require_once($this->_rootDir.'../pear/SeedDMS/Core.php'); require_once($this->_rootDir.'../pear/vendor/seeddms/core/Core.php');
$tmpcore = new SeedDMS_Core_DMS(null, $this->_contentDir); $tmpcore = new SeedDMS_Core_DMS(null, $this->_contentDir);
$db = new SeedDMS_Core_DatabaseAccess($this->_dbDriver, $this->_dbHostname, $this->_dbUser, $this->_dbPass, $this->_dbDatabase); $db = new SeedDMS_Core_DatabaseAccess($this->_dbDriver, $this->_dbHostname, $this->_dbUser, $this->_dbPass, $this->_dbDatabase);
if(!$db->connect()) { if(!$db->connect()) {

View File

@ -23,6 +23,6 @@ use Symfony\Component\HttpFoundation\Request;
if(!empty($settings->_coreDir)) if(!empty($settings->_coreDir))
require_once($settings->_coreDir.'/Core.php'); require_once($settings->_coreDir.'/Core.php');
else else
require_once('SeedDMS/Core.php'); require_once('vendor/seeddms/core/Core.php');
$request = Request::createFromGlobals(); $request = Request::createFromGlobals();