Creacion de logs para SYSTEM_NAME
Creacion de logs para SYSTEM_NAME
This commit is contained in:
@@ -690,7 +690,9 @@ class Installer extends Controller
|
|||||||
if (defined('PARTNER_FLAG') || isset($_REQUEST['PARTNER_FLAG'])) {
|
if (defined('PARTNER_FLAG') || isset($_REQUEST['PARTNER_FLAG'])) {
|
||||||
$dbText .= "\n";
|
$dbText .= "\n";
|
||||||
$dbText .= " define ('PARTNER_FLAG', " . ((defined('PARTNER_FLAG')) ? PARTNER_FLAG : ((isset($_REQUEST['PARTNER_FLAG'])) ? $_REQUEST['PARTNER_FLAG']:'false')) . ");\n";
|
$dbText .= " define ('PARTNER_FLAG', " . ((defined('PARTNER_FLAG')) ? PARTNER_FLAG : ((isset($_REQUEST['PARTNER_FLAG'])) ? $_REQUEST['PARTNER_FLAG']:'false')) . ");\n";
|
||||||
$systemName = $this->getNameSystem();
|
error_log('1 --------');
|
||||||
|
error_log($pathShared);
|
||||||
|
$systemName = $this->getNameSystem($pathShared);
|
||||||
if ($systemName != '') {
|
if ($systemName != '') {
|
||||||
$dbText .= " define ('SYSTEM_NAME', " . $systemName . ");\n";
|
$dbText .= " define ('SYSTEM_NAME', " . $systemName . ");\n";
|
||||||
}
|
}
|
||||||
@@ -1087,7 +1089,8 @@ class Installer extends Controller
|
|||||||
if (substr( $pathShared, - 1 ) != '/') {
|
if (substr( $pathShared, - 1 ) != '/') {
|
||||||
$pathShared .= '/';
|
$pathShared .= '/';
|
||||||
}
|
}
|
||||||
|
error_log('2 --------');
|
||||||
|
error_log($pathShared . 'partner.info');
|
||||||
if (file_exists($pathShared . 'partner.info')) {
|
if (file_exists($pathShared . 'partner.info')) {
|
||||||
$dataInfo = parse_ini_file($pathShared . 'partner.info');
|
$dataInfo = parse_ini_file($pathShared . 'partner.info');
|
||||||
if (isset($dataInfo['system_name'])) {
|
if (isset($dataInfo['system_name'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user