Skip to content

Commit

Permalink
iobrokerjs skript in index nach hinten damit Funktion sichergestellt …
Browse files Browse the repository at this point in the history
…ist.

iobrokerjs skript in index nach hinten damit Funktion sichergestellt ist.
  • Loading branch information
christian1180 committed Jan 19, 2025
1 parent 77f3877 commit e2f0620
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,6 @@ function read_config($file) {
<script src='js/sun.js'></script>
<script src='js/script.js.php?<?php echo "id=".rand(1,100); ?>'></script>

<?php if(file_exists("custom/js/custom.js")) { echo "<script src='custom/js/custom.js?id=".rand(1,100)."'></script>"; } ?>
<?php if(isset($ioBrokerComponent)) { echo "<script src='js/ioBroker.js?id=".rand(1,100)."'></script>"; } ?>

</head>
<body name="top">

Expand Down Expand Up @@ -643,7 +640,8 @@ function read_config($file) {

</div>


<?php if(file_exists("custom/js/custom.js")) { echo "<script src='custom/js/custom.js?id=".rand(1,100)."'></script>"; } ?>
<?php if(isset($ioBrokerComponent)) { echo "<script src='js/ioBroker.js?id=".rand(1,100)."'></script>"; } ?>

</body>
</html>

0 comments on commit e2f0620

Please sign in to comment.