delete unnecessary asset files

This commit is contained in:
Aliberk Sandıkçı 2023-12-30 16:16:02 +03:00
parent d1bf573e4b
commit caa42b7d46
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1
3 changed files with 3 additions and 25 deletions

View file

@ -81,14 +81,6 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
<div class="tmpinfo">2023 &#x1f12f; Aliberk Sandıı</div>
</footer>
</div>
<?php
$dir = new DirectoryIterator($_SERVER['DOCUMENT_ROOT'] . "/assets/js");
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".js") && $file != "jquery.js") {
echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' ';
}
} ?>
</body>
</html>

View file

@ -31,7 +31,7 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
<title>
<title>
Kurulum | SSA VPN
</title>
<link rel="shortcut icon" href="../assets/iflpanel/ssavpn.svg" type="image/x-icon">
@ -82,13 +82,6 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
<div class="tmpinfo">2023 &#x1f12f; Aliberk Sandıı</div>
</footer>
</div>
<?php
$dir = new DirectoryIterator($_SERVER['DOCUMENT_ROOT'] . "/assets/js");
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".js") && $file != "jquery.js") {
echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' ';
}
} ?>
<script src="../assets/copy.js"></script>
</body>

View file

@ -65,13 +65,6 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
<div class="tmpinfo">2023 &#x1f12f; Aliberk Sandıı</div>
</footer>
</div>
<?php
$dir = new DirectoryIterator($_SERVER['DOCUMENT_ROOT'] . "/assets/js");
foreach ($dir as $file) {
if ((!$file->isDot()) && str_ends_with($file, ".js") && $file != "jquery.js") {
echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' ';
}
} ?>
<script src="../assets/copy.js"></script>
</body>