DOCSYSTEM Arreglo de notices
Arreglo de notices
This commit is contained in:
@@ -337,7 +337,9 @@ class Installer extends Controller
|
||||
if (substr( $pathShared, - 1 ) != '/') {
|
||||
$pathShared .= '/';
|
||||
}
|
||||
$logFile = $pathShared . 'log/install.log';
|
||||
$pathSharedLog = $pathShared . 'log/';
|
||||
G::verifyPath($pathSharedLog, true);
|
||||
$logFile = $pathSharedLog . 'install.log';
|
||||
|
||||
if (! is_file( $logFile )) {
|
||||
G::mk_dir( dirname( $pathShared ) );
|
||||
@@ -839,6 +841,7 @@ class Installer extends Controller
|
||||
$updatedConf['default_skin'] = $skinUri;
|
||||
$info->uri = PATH_SEP . 'sys' . $_REQUEST['workspace'] . PATH_SEP . $langUri . PATH_SEP . $skinUri . PATH_SEP . 'login' . PATH_SEP . 'login';
|
||||
|
||||
$indexFileUpdated = true;
|
||||
if (defined('PARTNER_FLAG') || isset($_REQUEST['PARTNER_FLAG'])) {
|
||||
$this->buildParternExtras($adminUsername, $adminPassword, $_REQUEST['workspace'], SYS_LANG);
|
||||
} else {
|
||||
|
||||
@@ -263,7 +263,7 @@ class SkinEngine
|
||||
$meta = null;
|
||||
$dirBody = null;
|
||||
|
||||
if (preg_match("/^.*\(.*MSIE (\d+)\..+\).*$/", $_SERVER["HTTP_USER_AGENT"], $arrayMatch)) {
|
||||
if (isset($_SERVER["HTTP_USER_AGENT"]) && preg_match("/^.*\(.*MSIE (\d+)\..+\).*$/", $_SERVER["HTTP_USER_AGENT"], $arrayMatch)) {
|
||||
$ie = intval($arrayMatch[1]);
|
||||
$swTrident = (preg_match("/^.*Trident.*$/", $_SERVER["HTTP_USER_AGENT"]))? 1 : 0; //Trident only in IE8+
|
||||
|
||||
|
||||
Reference in New Issue
Block a user