diff options
author | Manuel Hiebel <leuhmanu@mageia.org> | 2017-07-05 17:34:53 +0200 |
---|---|---|
committer | Manuel Hiebel <leuhmanu@mageia.org> | 2017-07-05 17:34:53 +0200 |
commit | a8fdb54409c210055d4702faef8000ecd5a95faf (patch) | |
tree | 0261da29a7bef7d8dd82ae7b85ec353d610c614e /js/index.php | |
parent | 2a2be4fadbfcb612060fbaa5acb9671beece11a2 (diff) | |
download | nav-a8fdb54409c210055d4702faef8000ecd5a95faf.tar nav-a8fdb54409c210055d4702faef8000ecd5a95faf.tar.gz nav-a8fdb54409c210055d4702faef8000ecd5a95faf.tar.bz2 nav-a8fdb54409c210055d4702faef8000ecd5a95faf.tar.xz nav-a8fdb54409c210055d4702faef8000ecd5a95faf.zip |
Fix import of jquery
looks previous import from www/g/js is not working in git
import jquery directly
Diffstat (limited to 'js/index.php')
-rw-r--r-- | js/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
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')); |