mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
include vendor/autoload.php after setting include path
This commit is contained in:
parent
65801f1181
commit
f8b78c7212
|
@ -64,9 +64,6 @@ ini_set('include_path', $settings->_rootDir.'pear'. PATH_SEPARATOR .ini_get('inc
|
||||||
if(!empty($settings->_extraPath)) {
|
if(!empty($settings->_extraPath)) {
|
||||||
ini_set('include_path', $settings->_extraPath. PATH_SEPARATOR .ini_get('include_path'));
|
ini_set('include_path', $settings->_extraPath. PATH_SEPARATOR .ini_get('include_path'));
|
||||||
}
|
}
|
||||||
/* 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(isset($settings->_maxExecutionTime)) {
|
||||||
if (php_sapi_name() !== "cli") {
|
if (php_sapi_name() !== "cli") {
|
||||||
|
@ -98,3 +95,7 @@ ini_set('include_path', $settings->_rootDir. PATH_SEPARATOR .ini_get('include_pa
|
||||||
* relative to it.
|
* relative to it.
|
||||||
*/
|
*/
|
||||||
ini_set('include_path', $settings->_rootDir.'../pear'. PATH_SEPARATOR .ini_get('include_path'));
|
ini_set('include_path', $settings->_rootDir.'../pear'. PATH_SEPARATOR .ini_get('include_path'));
|
||||||
|
|
||||||
|
/* composer is installed in pear directory, but install tool does not need it */
|
||||||
|
if(!defined("SEEDDMS_INSTALL"))
|
||||||
|
require_once 'vendor/autoload.php';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user