Add variable for additional header code in config.php
This commit is contained in:
parent
a20fa62ace
commit
942d66fa9f
2 changed files with 6 additions and 0 deletions
|
@ -8,3 +8,7 @@ $dbname = "database";
|
||||||
$endpoint = True;
|
$endpoint = True;
|
||||||
$access = False;
|
$access = False;
|
||||||
$location = False;
|
$location = False;
|
||||||
|
|
||||||
|
$headercode = <<<EOD
|
||||||
|
<!-- Code displayed in header - use for analytics and stuff -->
|
||||||
|
EOD;
|
||||||
|
|
|
@ -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" />
|
<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>
|
<script src="https://npmcdn.com/leaflet@1.0.0-rc.3/dist/leaflet.js"></script>
|
||||||
|
|
||||||
|
' . $headercode . '
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue