mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 20:51:30 +00:00
- use !empty() instead of isset() from _coreDir
This commit is contained in:
parent
6ebfb6470a
commit
fd4924682d
|
@ -18,7 +18,7 @@
|
||||||
// along with this program; if not, write to the Free Software
|
// along with this program; if not, write to the Free Software
|
||||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
if(isset($settings->_coreDir))
|
if(!empty($settings->_coreDir))
|
||||||
require_once($settings->_coreDir.'/LetoDMS_Core.php');
|
require_once($settings->_coreDir.'/LetoDMS_Core.php');
|
||||||
else
|
else
|
||||||
require_once('LetoDMS/LetoDMS_Core.php');
|
require_once('LetoDMS/LetoDMS_Core.php');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user