blob: b255738145233a0a8aef99b0ff4be3335c49a35e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8" />
<meta name="viewport" content="width=device-width" />
<?php if (!empty($favicon)) {
?>
<link rel="shortcut icon" href="<?= Wcms\Model::faviconpath() . $favicon ?>" type="image/x-icon">
<?php } elseif (!empty(Wcms\Config::defaultfavicon())) { ?>
<link rel="shortcut icon" href="<?= Wcms\Model::faviconpath() . Wcms\Config::defaultfavicon() ?>" type="image/x-icon">
<?php } ?>
<title><?= $title ?></title>
<?php foreach ($stylesheets as $stylsheet) { ?>
<link rel="stylesheet" href="<?= $stylsheet ?>">
<?php } ?>
<?php
if (!empty(Wcms\Config::interfacecss())) {
echo '<link rel="stylesheet" href="' . Wcms\Model::csspath() . Wcms\Config::interfacecss() . '">';
}
if (isreportingerrors()) {
?>
<script>
const sentrydsn = '<?= Wcms\Config::sentrydsn() ?>';
const version = '<?= getversion() ?>';
const url = '<?= Wcms\Config::url() ?>';
const basepath = '<?= Wcms\Config::basepath() ?>';
</script>
<script src="https://browser.sentry-cdn.com/5.9.0/bundle.min.js"></script>
<script src="<?= Wcms\Model::jspath() ?>sentry.bundle.js"></script>
<?php } ?>
</head>
<?= $this->section('page') ?>
</html>
|