Relative Paths Fixes

This commit is contained in:
JonatanRek 2020-06-26 16:58:08 +02:00
parent fc8891425d
commit 4c3aaa40bc
7 changed files with 15 additions and 10 deletions

View File

@ -60,6 +60,7 @@
<script src="./app/templates/js/automation.js"></script>
<?php
$partial = new Partial('footer');
$partial->prepare('baseDir', $BASEDIR);
$partial->render();
?>
</body>

View File

@ -63,6 +63,7 @@
<?php
$partial = new Partial('footer');
$partial->prepare('baseDir', BASEDIR);
$partial->render();
//TODO js do main.js
?>

View File

@ -22,6 +22,7 @@
<?php
$partial = new Partial('footer');
$partial->prepare('baseDir', BASEDIR);
$partial->render();
?>
</body>

View File

@ -27,6 +27,7 @@
<?php
$partial = new Partial('footer');
$partial->prepare('baseDir', BASEDIR);
$partial->render();
?>
</body>

View File

@ -1,5 +1,5 @@
<script src="./app/templates/js/jquery.js"></script>
<script src="<?php echo $BASEDIR; ?>/js/jquery.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.1.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.1.0/firebase-messaging.js"></script>
<script src="./app/templates/js/script.js"></script>
<script src="./app/templates/js/post.js"></script>
<script src="<?php echo $BASEDIR; ?>/js/script.js"></script>
<script src="<?php echo $BASEDIR; ?>/js/post.js"></script>

View File

@ -18,9 +18,9 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="css/main.css?v2">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/modal.css">
<link rel="stylesheet" href="css/pre.css">
<link rel="stylesheet" href="css/loading.css">
<link rel="stylesheet" href="css/override.css">
<link rel="stylesheet" href="<?php echo $BASEDIR; ?>css/main.css?v2">
<link rel="stylesheet" href="<?php echo $BASEDIR; ?>css/font-awesome.min.css">
<link rel="stylesheet" href="<?php echo $BASEDIR; ?>css/modal.css">
<link rel="stylesheet" href="<?php echo $BASEDIR; ?>css/pre.css">
<link rel="stylesheet" href="<?php echo $BASEDIR; ?>css/loading.css">
<link rel="stylesheet" href="<?php echo $BASEDIR; ?>css/override.css">

View File

@ -194,6 +194,7 @@
</div>
<?php
$partial = new Partial('footer');
$partial->prepare('baseDir', BASEDIR);
$partial->render();
?>
<script src="./app/templates/js/setting.js"></script>