* [MOD] Improved CSS & JS resources handling.

* [MOD] Improved bootstrap workflow. Work in progress.
This commit is contained in:
nuxsmin
2018-02-08 23:10:12 +01:00
parent 74741853bd
commit 2cbaed9965
125 changed files with 1216 additions and 1104 deletions

View File

@@ -137,9 +137,7 @@ class MySQLHandler implements DBStorageInterface
if ($isInstalled) {
Init::initError(__('No es posible conectar con la BD'), __('Compruebe los datos de conexión'));
} else {
throw new SPException(SPException::SP_CRITICAL,
__('No es posible conectar con la BD', false),
__('Compruebe los datos de conexión', false));
throw new SPException(__('No es posible conectar con la BD', false), SPException::CRITICAL, __('Compruebe los datos de conexión', false));
}
}
@@ -164,7 +162,7 @@ class MySQLHandler implements DBStorageInterface
__('No es posible conectar con la BD'),
'Error ' . $e->getCode() . ': ' . $e->getMessage());
} else {
throw new SPException(SPException::SP_CRITICAL, $e->getMessage(), $e->getCode());
throw new SPException($e->getMessage(), SPException::CRITICAL, $e->getCode());
}
}
}