* [MOD] Improved plugins manager

* [MOD] Code refactoring and cleanup
* [MOD] Make classes final for performance improvements and avoid some side behaviours
This commit is contained in:
nuxsmin
2018-07-28 21:45:49 +02:00
parent 3e26a1df71
commit cd2c0379db
90 changed files with 517 additions and 1071 deletions

View File

@@ -2,8 +2,8 @@
/**
* sysPass
*
* @author nuxsmin
* @link https://syspass.org
* @author nuxsmin
* @link https://syspass.org
* @copyright 2012-2018, Rubén Domínguez nuxsmin@$syspass.org
*
* This file is part of sysPass.
@@ -36,7 +36,7 @@ use SP\Providers\Auth\Browser\Browser;
*
* @package SP\Modules\Web\Controllers
*/
class BootstrapController extends SimpleControllerBase
final class BootstrapController extends SimpleControllerBase
{
/**
* Returns environment data
@@ -48,7 +48,7 @@ class BootstrapController extends SimpleControllerBase
{
$configData = $this->config->getConfigData();
$checkStatus= $this->session->getAuthCompleted() && ($this->session->getUserData()->getIsAdminApp() || $configData->isDemoEnabled());
$checkStatus = $this->session->getAuthCompleted() && ($this->session->getUserData()->getIsAdminApp() || $configData->isDemoEnabled());
$data = [
'lang' => require CONFIG_PATH . DIRECTORY_SEPARATOR . 'strings.js.inc',