small fixes

This commit is contained in:
2021-03-31 20:30:51 +02:00
parent a29dc474f3
commit 32851147dc
6 changed files with 14355 additions and 7623 deletions

View File

@@ -17,13 +17,14 @@ namespace Documents {
namespace Documents\Files {
use Elements\Head;
use Elements\Link;
use Elements\Script;
use Elements\SimpleBody;
class FilesHead extends Head {
protected function initSources() {
$this->loadBootstrap();
$this->addCSS(Link::BOOTSTRAP);
$this->loadFontawesome();
}

View File

@@ -1,6 +1,6 @@
<?php
define("WEBBASE_VERSION", "1.2.0");
define("WEBBASE_VERSION", "1.2.1");
function getProtocol() {
return (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";