Compare commits
3 commits
29d1538d68
...
30d3404540
Author | SHA1 | Date | |
---|---|---|---|
30d3404540 | |||
10ae455611 | |||
07f564ada9 |
16 changed files with 25 additions and 18 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -524,4 +524,4 @@ svg[class*="icon-tabler-currency"] {
|
||||||
to {
|
to {
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
BIN
fonts/inter-tight-400.woff2
Normal file
BIN
fonts/inter-tight-400.woff2
Normal file
Binary file not shown.
BIN
fonts/inter-tight-700.woff2
Normal file
BIN
fonts/inter-tight-700.woff2
Normal file
Binary file not shown.
|
@ -10,4 +10,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -21,4 +21,4 @@
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -34,4 +34,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -8,4 +8,4 @@
|
||||||
return $arr[$string];
|
return $arr[$string];
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -94,4 +94,4 @@ function cursor(type) {
|
||||||
} else if(type == 'default') {
|
} else if(type == 'default') {
|
||||||
$('html,body').css({ 'cursor': 'auto' });
|
$('html,body').css({ 'cursor': 'auto' });
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -8,4 +8,4 @@
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -8,4 +8,4 @@
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -16,4 +16,4 @@
|
||||||
|
|
||||||
require_once 'site-footer.php';
|
require_once 'site-footer.php';
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -37,4 +37,4 @@
|
||||||
$smtp_email = null;
|
$smtp_email = null;
|
||||||
$smtp_password = null;
|
$smtp_password = null;
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -14,4 +14,4 @@
|
||||||
#echo '<script type="text/javascript" src="'.url('js/main'.($minified == true ? '.min.js' : '.js?'.time()), true).'"></script>';
|
#echo '<script type="text/javascript" src="'.url('js/main'.($minified == true ? '.min.js' : '.js?'.time()), true).'"></script>';
|
||||||
#echo (!file_exists('js/pages/'.str_replace('.php', '', $filename).'.js') ? null : '<script type="text/javascript" src="'.url('js/pages'.($minified == true ? '/minified' : '').'/'.str_replace('.php', '', $filename) . ($minified == true ? '.min.js' : '.js?'.time()), true).'"></script>');
|
#echo (!file_exists('js/pages/'.str_replace('.php', '', $filename).'.js') ? null : '<script type="text/javascript" src="'.url('js/pages'.($minified == true ? '/minified' : '').'/'.str_replace('.php', '', $filename) . ($minified == true ? '.min.js' : '.js?'.time()), true).'"></script>');
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -19,4 +19,4 @@
|
||||||
require_once $dir_functions.'/url.php';
|
require_once $dir_functions.'/url.php';
|
||||||
require_once $dir_functions.'/validate.php';
|
require_once $dir_functions.'/validate.php';
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -64,4 +64,4 @@
|
||||||
echo '<section id="website">';
|
echo '<section id="website">';
|
||||||
echo '<main>';
|
echo '<main>';
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -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');
|
||||||
|
@ -42,8 +46,11 @@
|
||||||
|
|
||||||
if(!empty($database_host) AND !empty($database_port) AND !empty($database_name) AND !empty($database_user) AND !empty($database_pass)) {
|
if(!empty($database_host) AND !empty($database_port) AND !empty($database_name) AND !empty($database_user) AND !empty($database_pass)) {
|
||||||
try {
|
try {
|
||||||
$sql = new PDO('pgsql:host='.$database_host.';port='.$database_port.';dbname='.$database_name.';user='.$database_user.';password='.$database_pass);
|
$sql = null;
|
||||||
$sql->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
if($sql === null) {
|
||||||
|
$sql = new PDO('pgsql:host='.$database_host.';port='.$database_port.';dbname='.$database_name.';user='.$database_user.';password='.$database_pass);
|
||||||
|
$sql->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
catch(PDOException $e) {
|
catch(PDOException $e) {
|
||||||
|
@ -52,4 +59,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in a new issue