diff options
author | Minteck <contact@minteck.org> | 2022-07-19 21:19:59 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-07-19 21:19:59 +0200 |
commit | 735d518ae6ecc6c8d0ecbbae4aa3c019151178fc (patch) | |
tree | 341ee0e7faa7b6f3367b9a4e129cbd148006158c /_frame/library.internal/view.php | |
parent | 3d71c572ec9a0827071be1978731079e8f1e5dbf (diff) | |
download | argon-trunk.tar.gz argon-trunk.tar.bz2 argon-trunk.zip |
Diffstat (limited to '_frame/library.internal/view.php')
-rw-r--r-- | _frame/library.internal/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
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['_'], ":")) { |