Commit d444b26c authored by f4eyq's avatar f4eyq

update 31/3 - part 1

parent 6d34b679
......@@ -358,11 +358,8 @@ class crxBootLoader{
$mode = 'bootWeb',
$params = array()
){
error_reporting($params['error_handling']['PhpDisplay']);
$interfaceDisplay = $mode.'InterfaceMessages';
require_once('commonWebInterfaceMessages.php');
require_once($interfaceDisplay.'.php');
......@@ -420,7 +417,7 @@ class crxBootLoader{
}
function runInitConstant($params){
$this->setServerOSConfiguration(@$params['server_os']);
$this->setApplicationName(@$params['appli_name']);
$this->setApplicationWebmasterEmail(@$params['appli_webmaster_email']);
......@@ -429,6 +426,7 @@ class crxBootLoader{
$this->setApplicationWebUrl(@$params['appli_web_uri']);
$this->setApplicationMainDataSource(@$params['appli_main_datasrc']);
$this->setApplicationMainDirectory(@$params['appli_path']); //path with www or html folder dir /var/www/site1/{html,www}
$this->setApplicationMainRootDirectory(@$params['appli_path_root']); //add this new path witch is root /var/www/site1/
$this->setApplicationRegistryPath(@$params['appli_reg_path']);
......@@ -441,8 +439,6 @@ class crxBootLoader{
$this->setFrameworkDebugMode(@$params['framework_debug_mode']);
$this->setFrameworkErrorMode(@$params['framework_error_mode']);
//Create env !
$this->initCrxFrameworkEnvConstants($params);
......@@ -707,11 +703,11 @@ class crxBootLoader{
define("_TAB_"," ");//Spacer ... ;)
define("CRLF","\r\n");
define("_SERVER_TYPE_", $this->_server_os);
define("_SD_", $this->_directory_separator_char);
define("_APPLI_MAIN_PATH_", $this->_app_main_dir);
define("_APPLI_MAIN_PATH_ROOT_", $this->_app_main_dir_root);
define("_SERVER_TYPE_",$this->_server_os);
define("_SD_",$this->_directory_separator_char);
define("_APPLI_MAIN_PATH_",$this->_app_main_dir);
define("_APPLI_MAIN_PATH_ROOT_",$this->_app_main_dir_root);
///MODULES_FOLDER
define("_APPLI_MAIN_MODULES_PATH_", $this->_app_main_dir.'app-php'._SD_);
define("_APPLI_LOGS_PATH_", $this->_app_main_dir.'logs'._SD_);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment