Add variable for additional header code in config.php

This commit is contained in:
Klaus-Uwe Mitterer 2016-11-05 21:41:51 +01:00
parent a20fa62ace
commit 942d66fa9f
2 changed files with 6 additions and 0 deletions

View file

@ -8,3 +8,7 @@ $dbname = "database";
$endpoint = True;
$access = False;
$location = False;
$headercode = <<<EOD
<!-- Code displayed in header - use for analytics and stuff -->
EOD;

View file

@ -27,6 +27,8 @@ if ($result->num_rows != 0) {
<link rel="stylesheet" href="https://npmcdn.com/leaflet@1.0.0-rc.3/dist/leaflet.css" />
<script src="https://npmcdn.com/leaflet@1.0.0-rc.3/dist/leaflet.js"></script>
' . $headercode . '
</head>
<body>