1
0
Fork 0

Improvements + added font files

This commit is contained in:
Airikr 2024-07-30 15:25:08 +02:00
parent 07f564ada9
commit 10ae455611
4 changed files with 18 additions and 12 deletions

View file

@ -3,7 +3,7 @@
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: swap; font-display: swap;
src: url(../../fonts/inter-tight-400.woff2); src: url(../fonts/inter-tight-400.woff2);
unicode-range: U+000-5FF; unicode-range: U+000-5FF;
} }
@ -12,7 +12,7 @@
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
font-display: swap; font-display: swap;
src: url(../../fonts/inter-tight-700.woff2); src: url(../fonts/inter-tight-700.woff2);
unicode-range: U+000-5FF; unicode-range: U+000-5FF;
} }

BIN
fonts/inter-tight-400.woff2 Normal file

Binary file not shown.

BIN
fonts/inter-tight-700.woff2 Normal file

Binary file not shown.

View file

@ -29,6 +29,10 @@
require_once 'vendor/autoload.php'; require_once 'vendor/autoload.php';
$Parsedown = new Parsedown(); $Parsedown = new Parsedown();
$oldmask = umask(0);
mkdir($dir_files, 0777, true);
umask($oldmask);
if(!file_exists($dir_files.'/encryption.key')) { if(!file_exists($dir_files.'/encryption.key')) {
$enckey = KeyFactory::generateEncryptionKey(); $enckey = KeyFactory::generateEncryptionKey();
KeyFactory::save($enckey, $dir_files.'/encryption.key'); KeyFactory::save($enckey, $dir_files.'/encryption.key');
@ -40,6 +44,7 @@
if(!empty($database_host) AND !empty($database_port) AND !empty($database_name) AND !empty($database_user) AND !empty($database_pass)) {
try { try {
$sql = null; $sql = null;
if($sql === null) { if($sql === null) {
@ -52,5 +57,6 @@
echo $e; echo $e;
exit; exit;
} }
}
?> ?>