mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-29 19:03:34 +00:00
- move added of adodb path to include path from DBInit.php to Settings.php
This commit is contained in:
parent
40db3387de
commit
46bf243ba8
|
|
@ -18,9 +18,6 @@
|
||||||
// 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->_ADOdbPath))
|
|
||||||
ini_set('include_path', $settings->_ADOdbPath. PATH_SEPARATOR .ini_get('include_path'));
|
|
||||||
|
|
||||||
if(!empty($settings->_coreDir))
|
if(!empty($settings->_coreDir))
|
||||||
require_once($settings->_coreDir.'/Core.php');
|
require_once($settings->_coreDir.'/Core.php');
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -67,4 +67,7 @@ if (isset($settingsOLD)) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(isset($settings->_ADOdbPath))
|
||||||
|
ini_set('include_path', $settings->_ADOdbPath. PATH_SEPARATOR .ini_get('include_path'));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user