mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-22 00:06:53 +01:00
* [ADD] Fully MVC.
* [ADD] Abstract classes and interfaces for better code structure. * [MOD] Actions handled as integers not strings and are consistent accross app modules. * [MOD] Classes' names where modified. Namespaces where added for better handling. * [ADD] Common exception class for the whole app. * [ADD] New base file for app initialization. * [MOD] Speed improvements.
This commit is contained in:
@@ -24,7 +24,8 @@
|
||||
*/
|
||||
|
||||
define('APP_ROOT', '..');
|
||||
require_once APP_ROOT . DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'Init.php';
|
||||
|
||||
require_once APP_ROOT . DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'Base.php';
|
||||
|
||||
$cssFiles = array(
|
||||
array('href' => 'css/reset.css', 'min' => true),
|
||||
@@ -39,8 +40,8 @@ $cssFiles = array(
|
||||
array('href' => 'css/styles.css', 'min' => true)
|
||||
);
|
||||
|
||||
if (!SP_Util::resultsCardsIsEnabled()) {
|
||||
if (!SP\Util::resultsCardsIsEnabled()) {
|
||||
array_push($cssFiles, array('href' => 'css/search-grid.css', 'min' => true));
|
||||
}
|
||||
|
||||
SP_Util::getMinified('css', $cssFiles);
|
||||
SP\Util::getMinified('css', $cssFiles);
|
||||
Reference in New Issue
Block a user