From a8fdb54409c210055d4702faef8000ecd5a95faf Mon Sep 17 00:00:00 2001 From: Manuel Hiebel Date: Wed, 5 Jul 2017 17:34:53 +0200 Subject: Fix import of jquery looks previous import from www/g/js is not working in git import jquery directly --- js/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/index.php') diff --git a/js/index.php b/js/index.php index 48bc9c6..2e6d163 100644 --- a/js/index.php +++ b/js/index.php @@ -21,5 +21,5 @@ //header('Access-Control-Allow-Methods: GET'); header('Content-Type: text/javascript;charset=utf-8'); header(sprintf('Expires: %s', gmdate('r', strtotime('+2 day')))); -echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('../../g/js/jquery-3.2.1.min.js')); +echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('jquery-3.2.1.min.js')); echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('source.js')); -- cgit v1.2.1