diff --git a/inc/inc.DBInit.php b/inc/inc.DBInit.php index 507f1e126..4be86d371 100644 --- a/inc/inc.DBInit.php +++ b/inc/inc.DBInit.php @@ -18,7 +18,7 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -if(isset($settings->_coreDir)) +if(!empty($settings->_coreDir)) require_once($settings->_coreDir.'/LetoDMS_Core.php'); else require_once('LetoDMS/LetoDMS_Core.php');