mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add pear dir to include path
This commit is contained in:
parent
a26916243c
commit
cc9835e3a6
|
@ -39,8 +39,9 @@ ini_set('include_path', $settings->_rootDir.'pear'. PATH_SEPARATOR .ini_get('inc
|
|||
if(!empty($settings->_extraPath)) {
|
||||
ini_set('include_path', $settings->_extraPath. PATH_SEPARATOR .ini_get('include_path'));
|
||||
}
|
||||
/* composer is installed in pear directory */
|
||||
require_once $settings->_rootDir.'../pear/vendor/autoload.php';
|
||||
/* composer is installed in pear directory, but install tool does not need it */
|
||||
if(!defined("SEEDDMS_INSTALL"))
|
||||
require_once $settings->_rootDir.'../pear/vendor/autoload.php';
|
||||
|
||||
if(isset($settings->_maxExecutionTime)) {
|
||||
if (php_sapi_name() !== "cli") {
|
||||
|
|
Loading…
Reference in New Issue
Block a user