chore: update links.php
This commit is contained in:
parent
9303ab6c24
commit
0d78afe863
1 changed files with 15 additions and 1 deletions
16
links.php
16
links.php
|
@ -12,7 +12,13 @@
|
||||||
<meta name="author" content="Aliberk Sandıkçı">
|
<meta name="author" content="Aliberk Sandıkçı">
|
||||||
|
|
||||||
<!-- CSS Files -->
|
<!-- CSS Files -->
|
||||||
|
<?php
|
||||||
|
$dir = new DirectoryIterator("assets/css");
|
||||||
|
foreach ($dir as $file) {
|
||||||
|
if ((!$file->isDot()) && str_ends_with($file, ".css")) {
|
||||||
|
echo '<link rel="stylesheet" href="/assets/css/' . $file . '">' . PHP_EOL . ' ';
|
||||||
|
}
|
||||||
|
} ?>
|
||||||
|
|
||||||
<title>Aliberk Sandıkçı | Personel Website | aliberksandikci.com.tr</title>
|
<title>Aliberk Sandıkçı | Personel Website | aliberksandikci.com.tr</title>
|
||||||
</head>
|
</head>
|
||||||
|
@ -67,6 +73,14 @@
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$dir = new DirectoryIterator("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>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue