summaryrefslogtreecommitdiff
path: root/_frame/library.internal
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-07-19 21:19:59 +0200
committerMinteck <contact@minteck.org>2022-07-19 21:19:59 +0200
commit735d518ae6ecc6c8d0ecbbae4aa3c019151178fc (patch)
tree341ee0e7faa7b6f3367b9a4e129cbd148006158c /_frame/library.internal
parent3d71c572ec9a0827071be1978731079e8f1e5dbf (diff)
downloadargon-trunk.tar.gz
argon-trunk.tar.bz2
argon-trunk.zip
EOL and other stuffHEADtrunk
Diffstat (limited to '_frame/library.internal')
-rw-r--r--_frame/library.internal/main.php2
-rw-r--r--_frame/library.internal/view.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/_frame/library.internal/main.php b/_frame/library.internal/main.php
index 5ffc26b..0b0a52a 100644
--- a/_frame/library.internal/main.php
+++ b/_frame/library.internal/main.php
@@ -20,7 +20,7 @@
<?= l("Library", "Bibliothèque") ?>
</div>
<div id="frame-contents">
- <?php $data = json_decode(file_get_contents("https://argon.minteck.org/api/get_list.php"), true); ?>
+ <?php $data = json_decode(file_get_contents("https://forced.argon.minteck.org/api/get_list.php"), true); ?>
<div id="frame-library-listing">
<?php foreach ($data["listing"] as $item): ?>
<div onclick="if (!event.target.classList.contains('frame-library-item-part-song')) location.href='/_frame/library/<?= $item["_id"] ?>';" class="frame-library-item" id="frame-library-item--<?= $item["_type"] . "-" . $item["_id"] ?>">
diff --git a/_frame/library.internal/view.php b/_frame/library.internal/view.php
index e2c9d2a..54b3c85 100644
--- a/_frame/library.internal/view.php
+++ b/_frame/library.internal/view.php
@@ -1,6 +1,6 @@
<?php if (str_ends_with($_SERVER['HTTP_HOST'], ".familine.minteck.org")) { $_FAMILINE = true; setlocale(LC_TIME, array('fr_FR.UTF-8','fr_FR@euro','fr_FR','french')); } else { $_FAMILINE = false; } function l($en, $fr) { global $_FAMILINE; if ($_FAMILINE) { return $fr; } else { return $en; } } $root = $_SERVER['DOCUMENT_ROOT']; $root = $_SERVER['DOCUMENT_ROOT'];
-$data = json_decode(file_get_contents("https://argon.minteck.org/api/get_list.php"), true);
+$data = json_decode(file_get_contents("https://forced.argon.minteck.org/api/get_list.php"), true);
$views = json_decode(file_get_contents("/mnt/argon-cdn/3pad/data.json"), true);
if (str_starts_with($_GET['_'], ":")) {