From 35f7adea8ca58e6570336e99c3aaf99410e9ac92 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Fri, 11 May 2018 23:50:04 +0200 Subject: [PATCH 1/1] [FEATURE] Advertise javascript license for LibreJS closes #172 Signed-off-by: Jerome Jutteau --- index.php | 2 ++ lib/functions.js.php | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index e4cfa20..37aa538 100644 --- a/index.php +++ b/index.php @@ -270,6 +270,7 @@ else { diff --git a/lib/functions.js.php b/lib/functions.js.php index 8447551..fe0b55b 100644 --- a/lib/functions.js.php +++ b/lib/functions.js.php @@ -19,13 +19,13 @@ */ header('Content-Type: text/javascript'); - define('JIRAFEAU_ROOT', dirname(__FILE__) . '/../'); require(JIRAFEAU_ROOT . 'lib/settings.php'); require(JIRAFEAU_ROOT . 'lib/functions.php'); require(JIRAFEAU_ROOT . 'lib/lang.php'); ?> +// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt GPL-v3-or-Later var web_root = ""; var lang_array = ; @@ -746,3 +746,4 @@ function addCopyListener(button_id, link_id) { .addEventListener("click", function() { copyLinkToClipboard(link_id);}); } +// @license-end -- 2.34.1